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); }
/**********************************************************************//** * @brief Disables Right Switch * * @param none * * @return none *************************************************************************/ void DisableRightSwitch(void) { GPIO_disableInterrupt(GPIO_PORT_P1, GPIO_PIN1); }
/**********************************************************************//** * @brief Disables Left Switch * * @param none * * @return none *************************************************************************/ void DisableLeftSwitch(void) { GPIO_disableInterrupt(GPIO_PORT_P4, GPIO_PIN5); }