9 #include "config/apps.h" 10 #include "config/hal.h" 13 static volatile uint16_t tgl_cnt = 0;
14 #define TGL_INTERVAL 4 // LED toggle interval of 5 x 100 ms = 500 ms 15 #define TGL_INTERVAL_ERR 0 // LED toggle interval of 1 x 100 ms = 100 ms 30 volatile uint16_t appLED_Initialize(
void)
32 volatile uint16_t retval = 1;
35 debug_led.
period = TGL_INTERVAL;
53 volatile uint16_t appLED_Execute(
void)
55 volatile uint16_t retval = 1;
65 debug_led.
period = TGL_INTERVAL_ERR;
67 debug_led.
period = TGL_INTERVAL;
70 if (++tgl_cnt > debug_led.
period) {
72 debug_led.
status.bits.
on = (bool)(DBGLED_Get() == DBGLED_ON);
92 volatile uint16_t appLED_Start(
void)
94 volatile uint16_t retval = 1;
113 volatile uint16_t appLED_Dispose(
void)
115 volatile uint16_t retval = 1;
volatile bool fault_active
Bit #5: Flag bit indicating system is in enforced shut down mode (usually due to a fault condition)
volatile struct DEBUGGING_LED_STATUS_s status
Status word of the Debugging LED driver.
volatile struct BOOST_CONVERTER_STATUS_s status
BOOST operation status bits.