Functions | |
l_bool | l_flg_tst (l_flag_handle fff, const mtb_stc_lin_context_t *context) |
Returns a C boolean indicating the current state of the flag specified by the name fff. More... | |
void | l_flg_clr (l_flag_handle fff, const mtb_stc_lin_context_t *context) |
Sets the current value of the flag specified by the name fff to zero. More... | |
l_bool l_flg_tst | ( | l_flag_handle | fff, |
const mtb_stc_lin_context_t * | context | ||
) |
Returns a C boolean indicating the current state of the flag specified by the name fff.
i.e. returns zero if the flag is cleared, non-zero otherwise.
fff | The name of the flag handle. See l_flag_handle. |
context | The pointer to the context structure mtb_stc_lin_context_t allocated by the user. This structure is used during LIN Slave operation for internal configuration and data retention. The user must not modify anything in this structure. |
void l_flg_clr | ( | l_flag_handle | fff, |
const mtb_stc_lin_context_t * | context | ||
) |
Sets the current value of the flag specified by the name fff to zero.
fff | The name of the flag handle. See l_flag_handle. |
context | The pointer to the context structure mtb_stc_lin_context_t allocated by the user. This structure is used during LIN Slave operation for internal configuration and data retention. The user must not modify anything in this structure. |