RV_DM Device Interface Functions More...
Go to the source code of this file.
Functions | |
OT_WARN_UNUSED_RESULT dif_result_t | dif_rv_dm_late_debug_configure (const dif_rv_dm_t *rv_dm, dif_toggle_t enable) |
Late debug enable/disable configuration. More... | |
OT_WARN_UNUSED_RESULT dif_result_t | dif_rv_dm_late_debug_lock (const dif_rv_dm_t *rv_dm) |
Locks the late debug enable/disable configuration. More... | |
OT_WARN_UNUSED_RESULT dif_result_t | dif_rv_dm_late_debug_is_locked (const dif_rv_dm_t *rv_dm, bool *is_locked) |
Checks whether the late debug enable/disable configuration is locked. More... | |
RV_DM Device Interface Functions
Definition in file dif_rv_dm.h.
OT_WARN_UNUSED_RESULT dif_result_t dif_rv_dm_late_debug_configure | ( | const dif_rv_dm_t * | rv_dm, |
dif_toggle_t | enable | ||
) |
Late debug enable/disable configuration.
RV_DM is gated by the life cycle controller so that it is only usable in TEST_UNLOCKED
, DEV
and RMA
states. In DEV
life cycle state, this block supports late debug enablement via firmware, which allows the ROM
or ROM_EXT
to implement a debug enablement policy. The debug enablement functionality can be activated by calling this function.
rv_dm | A RV_DM handle. |
enable | Enable or disable late debug. |
Definition at line 18 of file dif_rv_dm.c.
OT_WARN_UNUSED_RESULT dif_result_t dif_rv_dm_late_debug_is_locked | ( | const dif_rv_dm_t * | rv_dm, |
bool * | is_locked | ||
) |
Checks whether the late debug enable/disable configuration is locked.
rv_dm | A RV_DM handle. | |
[out] | is_locked | Out-param for whether the configuration is locked. |
Definition at line 51 of file dif_rv_dm.c.
OT_WARN_UNUSED_RESULT dif_result_t dif_rv_dm_late_debug_lock | ( | const dif_rv_dm_t * | rv_dm | ) |
Locks the late debug enable/disable configuration.
This function locks the late debug enable/disable configuration register. Once locked, the late debug enable/disable configuration cannot be changed until the next reset.
rv_dm | A RV_DM handle. |
Definition at line 39 of file dif_rv_dm.c.