9 #include "config/apps.h"
10 #include "config/hal.h"
13 volatile uint16_t tgl_cnt = 0;
14 volatile uint16_t tgl_on = 0;
16 #define TGL_INTERVAL 5000
17 #define TGL_INTERVAL_ERR 1000
19 #define TGL_INTERVAL_ERRLATCH_ON 1000
20 #define TGL_INTERVAL_ERRLATCH_OFF 19000
37 volatile uint16_t retval = 1;
40 debug_led.
on_time = TGL_INTERVAL;
63 volatile uint16_t retval = 1;
68 debug_led.
on_time = TGL_INTERVAL_ERRLATCH_ON;
69 debug_led.
off_time = TGL_INTERVAL_ERRLATCH_OFF;
73 debug_led.
on_time = TGL_INTERVAL_ERR;
74 debug_led.
off_time = TGL_INTERVAL_ERR;
78 debug_led.
on_time = TGL_INTERVAL;
86 if ((tgl_cnt > debug_led.
on_time) && (tgl_on)) {
91 else if ((tgl_cnt > debug_led.
off_time) && (!tgl_on)) {
113 volatile uint16_t retval = 1;
#define DBGLED_Dispose()
Macro instruction initializing the specified GPIO as input.
#define DBGLED_Clear()
Macro instruction to set a pin state to logic LOW.
#define DBGLED_Init()
Macro instruction initializing the specified GPIO as output.
#define DBGLED_Set()
Macro instruction to set a pin state to logic HIGH.
volatile uint16_t appLED_Dispose(void)
Frees the resources of the debugging LED driver.
volatile uint16_t appLED_Initialize(void)
Initializes the LED driving GPIO.
volatile uint16_t appLED_Execute(void)
Executes the debugging LED driver.
volatile struct BUCK_CONVERTER_s buck
Global data object for a BUCK CONVERTER.
Debugging LED settings data object.
volatile uint16_t off_time
volatile uint16_t on_time
struct BUCK_CONVERTER_STATUS_s::@126::@128 bits
data structure for single bit addressing operations
volatile struct BUCK_CONVERTER_STATUS_s status
BUCK operation status bits.