3.3.7 SAFE_PLIB_FREQM

Set of safe functions for setting up and controlling the FREQM peripheral.

Definitions and Data Structures

/* FREQM errors */
#define FREQM_ERROR_NONE 0x0U
#define FREQM_ERROR_OVERFLOW FREQM_STATUS_OVF_Msk
#define FREQM_TIMEOUT                                     (10000)
#define FREQM_ERROR_CALLBACK_NOT_REGISTERED               (0x1U)
#define FREQM_ERROR_INVALID_PARAMETER                     (0x2U)
#define FREQM_ERROR_TIMEOUT                               

/* FREQM error ty;e */
typedef uint32_t FREQM_ERROR;

/* Interrupt mode callback */
typedef void (*FREQM_CALLBACK)(uintptr_t context);