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