Defines Controller Common Support Structure (CSS) and related macros.
|
#define | DCL_CSS_DEFAULTS { 0.0f, DCL_DEFAULT_PERIOD_S, 0U, 0U, 0U, NULL } |
| Default values to initialize the CSS structure. More...
|
|
#define | DCL_CSSF64_DEFAULTS { 0.0L, DCL_DEFAULT_PERIODF64_S, 0U, 0U, 0U, NULL } |
| Default values to initialize the CSS 64bit structure. More...
|
|
#define | DCL_setControllerPeriod(p, T) ((p)->css->t_sec = T) |
| Loads the controller period in the CSS CSS pointer must be configured first. More...
|
|
#define | DCL_setUpdateStatus(p) ((p)->css->sts |= dcl_sts_param_update) |
| Macros to set and clear the update-in-progress flag. More...
|
|
#define | DCL_clearUpdateStatus(p) ((p)->css->sts &= ~dcl_sts_param_update) |
|
#define | DCL_getUpdateStatus(p) (0U != ((p)->css->sts & dcl_sts_param_update)) |
| Determine whether a parameter update-in-progress flag is set. More...
|
|
#define | DCL_setPendingStatus(p) ((p)->css->sts |= dcl_sts_param_pending) |
| Macros to set and clear the pending-for-update flag. More...
|
|
#define | DCL_clearPendingStatus(p) ((p)->css->sts &= ~dcl_sts_param_pending) |
|
#define | DCL_getPendingStatus(p) (0U != ((p)->css->sts & dcl_sts_param_pending)) |
| Determine whether a parameter pending-for-update flag is set. More...
|
|
#define | DCL_setControllerStatus(p) ((p)->css->sts |= dcl_sts_ctrl_running) |
| Macros placed at the beginning and end of the controller so that other functions know a control operation is in progress. Typically only used with complex controllers which may not be atomic. More...
|
|
#define | DCL_clearControllerStatus(p) ((p)->css->sts &= ~dcl_sts_ctrl_running) |
|
#define | DCL_getControllerStatus(p) (0U != ((p)->css->sts & dcl_sts_ctrl_running)) |
| Determine whether a controller operation-in-progress flag is set. More...
|
|