void button_disable_interrupts()
{

    GPIO_disableInterrupt(INPUT1_BASEADDRESS, INPUT1_PORT, INPUT1_PIN);
    GPIO_disableInterrupt(INPUT2_BASEADDRESS, INPUT2_PORT, INPUT2_PIN);
    GPIO_disableInterrupt(INPUT3_BASEADDRESS, INPUT3_PORT, INPUT3_PIN);

}
예제 #2
0
/**********************************************************************//**
 * @brief  Disables Right Switch
 *
 * @param  none
 *
 * @return none
 *************************************************************************/
void DisableRightSwitch(void)
{
    GPIO_disableInterrupt(GPIO_PORT_P1, GPIO_PIN1);
}
예제 #3
0
/**********************************************************************//**
 * @brief  Disables Left Switch
 *
 * @param  none
 *
 * @return none
 *************************************************************************/
void DisableLeftSwitch(void)
{
    GPIO_disableInterrupt(GPIO_PORT_P4, GPIO_PIN5);
}