|
AM263x Digital Power SDK
09.01.00
|
|
Go to the documentation of this file.
57 typedef struct dcl_css {
60 volatile uint32_t
sts;
68 #define DCL_CSS_DEFAULTS { 0.0f, DCL_DEFAULT_PERIOD_S, 0U, 0U, 0U, NULL }
72 typedef struct dcl_css64 {
75 volatile uint32_t
sts;
83 #define DCL_CSSF64_DEFAULTS { 0.0L, DCL_DEFAULT_PERIODF64_S, 0U, 0U, 0U, NULL }
92 #define DCL_setControllerPeriod(p,t_sec) ((p)->css->T = t_sec)
115 #define DCL_setUpdateStatus(p) ((p)->css->sts |= dcl_sts_param_update)
116 #define DCL_clearUpdateStatus(p) ((p)->css->sts &= ~dcl_sts_param_update)
122 #define DCL_getUpdateStatus(p) (0U != ((p)->css->sts & dcl_sts_param_update))
129 #define DCL_getPendingStatus(p) (0U != ((p)->css->sts & dcl_sts_param_pending))
136 #define DCL_setControllerStatus(p) ((p)->css->sts |= dcl_sts_ctrl_running)
137 #define DCL_clearControllerStatus(p) ((p)->css->sts &= ~dcl_sts_ctrl_running)
143 #define DCL_getControllerStatus(p) (0U != ((p)->css->sts & dcl_sts_ctrl_running))
151 #endif // _DCL_CSS_H_
float64_t tpt
Test point.
Definition: dcl_css.h:73
@ dcl_sts_param_update
Parameter update-in-progress flag, high if ongoing parameter update.
Definition: dcl_css.h:109
float32_t tpt
Test point.
Definition: dcl_css.h:58
volatile uint32_t sts
Status word.
Definition: dcl_css.h:60
uint32_t err
Error status code.
Definition: dcl_css.h:62
@ dcl_sts_ctrl_running
Controller operation-in-progress flag, high if operation is in progress.
Definition: dcl_css.h:110
float64_t T
Controller period in seconds.
Definition: dcl_css.h:74
uint32_t err_line
Error location line (errno)
Definition: dcl_css.h:76
uint32_t err_line
Error location line (errno)
Definition: dcl_css.h:61
const char * err_func
Error function name.
Definition: dcl_css.h:78
float32_t T
Controller period in seconds.
Definition: dcl_css.h:59
Defines the 64bit CSS structure.
Definition: dcl_css.h:72
volatile uint32_t sts
Status word.
Definition: dcl_css.h:75
Defines the controller common support structure.
Definition: dcl_css.h:57
dcl_status_bits
Defines the library enumerated status bits.
Definition: dcl_css.h:107
double float64_t
Definition: dcl_common.h:55
uint32_t err
Error status code.
Definition: dcl_css.h:77
float float32_t
Defines single,double precision data type. Note: Assumes ABI to be TI_EABI, does not support legacy T...
Definition: dcl_common.h:54
const char * err_func
Error function name.
Definition: dcl_css.h:63
@ dcl_sts_none
Status empty.
Definition: dcl_css.h:108