7.3.4.1 Function freqm_enable_callback()
Enable an FREQM callback.
enum status_code freqm_enable_callback( struct freqm_module *const module, const enum freqm_callback_type type)
Data direction | Parameter name | Description |
---|---|---|
[in, out] |
module |
Pointer to the software instance struct |
[in] |
type |
Callback source type |
Returns
Status of the callback enable operation.
Return value | Description |
---|---|
STATUS_OK |
The callback was enabled successfully |
STATUS_ERR_INVALID_ARG |
If an invalid callback type was supplied |