peripherals/c/launchpad_io.c
/*********************************************************************************
* Summary:
* Configures the GPIO pins connected to the Launchpad LEDs and push buttons
*
********************************************************************************/
Configures the GPIO pins connected to the Launchpad LEDs and push buttons
Configures the GPIO pins connected to the Launchpad LEDs and push buttons
void lp_io_init(void)
{
	gpio_enable_port(GPIOF_BASE);
	gpio_config_digital_enable(GPIOF_BASE, SW1_M);
	gpio_config_enable_input(GPIOF_BASE, SW1_M);
	gpio_config_enable_pullup(GPIOF_BASE, SW1_M);
}
void lp_io_init ( void ) { gpio_enable_port ( GPIOF_BASE ) ; gpio_config_digital_enable ( GPIOF_BASE , SW1_M ) ; gpio_config_enable_input ( GPIOF_BASE , SW1_M ) ; gpio_config_enable_pullup ( GPIOF_BASE , SW1_M ) ; }
Summary:
Configures the GPIO pins connected to the Launchpad LEDs and push buttons
Summary : Configures the GPIO pins connected to the Launchpad LEDs and push buttons
//gpio_config_falling_edge_irq(GPIOF_BASE, SW1_M);