// ***************************************************************************** // ***************************************************************************** // Section: Application Configuration // ***************************************************************************** // ***************************************************************************** /*** Application Instance 0 Configuration ***/ #define APP_BSP_LED BSP_LED_3 #define APP_LED_BLINK_DELAY 50 // milliseconds #define APP_CN_PORT_CHANNEL PORT_CHANNEL_B #define APP_CN_PORT_BIT PORTS_BIT_POS_12 #define APP_CN_PORT_INTERRUPT INT_SOURCE_CHANGE_NOTICE_B #define APP_CN_PRESS_EQUALS_1_OR_0 1 // Logic level on pin when switch pressed #define APP_DEBOUNCE_COUNT 2 // Times APP_LED_BLINK_DELAY #define APP_DEBOUNCE_TIMEOUT 5 // Times APP_LED_BLINK_DELAY