|
|
status_t | CDOG_Init (CDOG_Type *base, cdog_config_t *conf) |
| Initialize CDOG. More...
|
|
void | CDOG_Deinit (CDOG_Type *base) |
| Deinitialize CDOG. More...
|
|
void | CDOG_GetDefaultConfig (cdog_config_t *conf) |
| Sets the default configuration of CDOG. More...
|
|
void | CDOG_Stop (CDOG_Type *base, uint32_t stop) |
| Stops secure counter and instruction timer. More...
|
|
void | CDOG_Start (CDOG_Type *base, uint32_t reload, uint32_t start) |
| Sets secure counter and instruction timer values. More...
|
|
void | CDOG_Check (CDOG_Type *base, uint32_t check) |
| Checks secure counter. More...
|
|
void | CDOG_Set (CDOG_Type *base, uint32_t stop, uint32_t reload, uint32_t start) |
| Sets secure counter and instruction timer values. More...
|
|
void | CDOG_Add (CDOG_Type *base, uint32_t add) |
| Add value to secure counter. More...
|
|
void | CDOG_Add1 (CDOG_Type *base) |
| Add 1 to secure counter. More...
|
|
void | CDOG_Add16 (CDOG_Type *base) |
| Add 16 to secure counter. More...
|
|
void | CDOG_Add256 (CDOG_Type *base) |
| Add 256 to secure counter. More...
|
|
void | CDOG_Sub (CDOG_Type *base, uint32_t sub) |
|
void | CDOG_Sub1 (CDOG_Type *base) |
| Substract 1 from secure counter. More...
|
|
void | CDOG_Sub16 (CDOG_Type *base) |
| Substract 16 from secure counter. More...
|
|
void | CDOG_Sub256 (CDOG_Type *base) |
| Substract 256 from secure counter. More...
|
|
void | CDOG_WritePersistent (CDOG_Type *base, uint32_t value) |
| Set the CDOG persistent word. More...
|
|
uint32_t | CDOG_ReadPersistent (CDOG_Type *base) |
| Get the CDOG persistent word. More...
|
|
|
#define | FSL_CDOG_DRIVER_VERSION (MAKE_VERSION(2, 1, 1)) |
| Defines CDOG driver version 2.1.1. More...
|
|
#define | SC_ADD(add) |
|
#define | SC_ADD1 |
|
#define | SC_ADD16 |
|
#define | SC_ADD256 |
|
#define | SC_SUB(sub) |
|
#define | SC_SUB1 |
|
#define | SC_SUB16 |
|
#define | SC_SUB256 |
|
#define | SC_CHECK(val) |
|
enum | __cdog_debug_Action_ctrl_enum { kCDOG_DebugHaltCtrl_Run = 0x1
, kCDOG_DebugHaltCtrl_Pause = 0x2
} |
|
enum | __cdog_irq_pause_ctrl_enum { kCDOG_IrqPauseCtrl_Run = 0x1
, kCDOG_IrqPauseCtrl_Pause = 0x2
} |
|
enum | __cdog_fault_ctrl_enum { kCDOG_FaultCtrl_EnableReset = 0x1U
, kCDOG_FaultCtrl_EnableInterrupt = 0x2U
, kCDOG_FaultCtrl_NoAction = 0x4U
} |
|
enum | __code_lock_ctrl_enum { kCDOG_LockCtrl_Lock = 0x1
, kCDOG_LockCtrl_Unlock = 0x2
} |
|
typedef uint32_t | secure_counter_t |
|
void | CDOG_DriverIRQHandler (void) |
|