peripherals/c/launchpad_io.c
//*****************************************************************************
// Sets a given GPIO pin to 1.  All other pins retain their value
//
// Paramters
//    pin_number  The pin number of port F to turn on
//              
//
//*****************************************************************************
Sets a given GPIO pin to 1.  All other pins retain their value
Paramters
pin_number  The pin number of port F to turn on
Sets a given GPIO pin to 1 . All other pins retain their value Paramters pin_number The pin number of port F to turn on
void  lp_io_set_pin(uint8_t pin_number)
{
	uint8_t mask = 1 << pin_number;
	GPIOF->DATA |= mask;
	return;
}
void lp_io_set_pin ( uint8_t pin_number ) { uint8_t mask = 1 << pin_number ; GPIOF -> DATA |= mask ; return ; }
Sets a given GPIO pin to 1.
Sets a given GPIO pin to 1 .