18 #if !defined(RCM_HAL_H)
103 #if defined(__cplusplus)
163 uint32_t regValue = (uint32_t)baseAddr->
SRIE;
166 baseAddr->
SRIE = (uint32_t)regValue;
201 uint32_t regValue = (uint32_t)baseAddr->
RPC;
204 baseAddr->
RPC = (uint32_t)regValue;
218 uint32_t regValue = (uint32_t)baseAddr->
RPC;
220 return (regValue == 0UL) ?
false :
true;
234 uint32_t regValue = baseAddr->
RPC;
237 baseAddr->
RPC = regValue;
252 uint32_t regValue = baseAddr->
RPC;
284 uint32_t regValue = baseAddr->
RPC;
287 baseAddr->
RPC = regValue;
301 uint32_t regValue = baseAddr->
RPC;
303 return (uint32_t)regValue;
318 uint32_t regValue = baseAddr->
SRIE;
321 baseAddr->
SRIE = regValue;
326 #if defined(__cplusplus)
rcm_source_names_t
System Reset Source Name definitions Implements rcm_source_names_t_Class.
static void RCM_HAL_SetFilterRunWaitMode(RCM_Type *const baseAddr, const rcm_filter_run_wait_modes_t mode)
Sets the reset pin filter in run and wait mode.
#define RCM_RPC_RSTFLTSEL_MASK
#define RCM_RPC_RSTFLTSRW_MASK
static void RCM_HAL_SetFilterStopModeCmd(RCM_Type *const baseAddr, const bool enable)
Sets the reset pin filter in stop mode.
static rcm_filter_run_wait_modes_t RCM_HAL_GetFilterRunWaitMode(const RCM_Type *const baseAddr)
Gets the reset pin filter for stop mode.
rcm_filter_run_wait_modes_t
Reset pin filter select in Run and Wait modes Implements rcm_filter_run_wait_modes_t_Class.
void RCM_HAL_ClearStickySrcStatus(RCM_Type *const baseAddr)
Clear the sticky reset source status.
#define RCM_RPC_RSTFLTSS(x)
bool RCM_HAL_GetStickySrcStatusCmd(const RCM_Type *const baseAddr, const rcm_source_names_t srcName)
Gets the sticky reset source status.
static uint32_t RCM_HAL_GetFilterWidth(const RCM_Type *const baseAddr)
Gets the reset pin filter for stop mode.
#define RCM_RPC_RSTFLTSRW_SHIFT
bool RCM_HAL_GetSrcStatusCmd(const RCM_Type *const baseAddr, const rcm_source_names_t srcName)
Gets the reset source status.
static bool RCM_HAL_GetFilterStopModeCmd(const RCM_Type *const baseAddr)
Gets the reset pin filter in stop mode.
#define RCM_SRIE_DELAY_MASK
#define RCM_SRIE_GIE_MASK
RCM module version number Implements rcm_version_info_t_Class.
#define RCM_RPC_RSTFLTSEL_SHIFT
#define RCM_RPC_RSTFLTSRW(x)
void RCM_HAL_GetVersion(const RCM_Type *const baseAddr, rcm_version_info_t *const versionInfo)
Get the version of the RCM module.
#define RCM_RPC_RSTFLTSEL(x)
bool RCM_HAL_GetSrcIndicationFeatureAvailability(const RCM_Type *const baseAddr, const rcm_source_names_t srcName)
Checks the existence of the status indication feature for a reset source.
#define RCM_RPC_RSTFLTSS_MASK
#define RCM_SRIE_DELAY(x)
static void RCM_HAL_SetAllResetIntCmd(RCM_Type *const baseAddr, const bool enable)
Enables/disables all system reset interrupts.
rcm_reset_delay_time_t
Reset delay time Implements rcm_reset_delay_time_t_Class.
static void RCM_HAL_SetResetDelayTimeValue(RCM_Type *const baseAddr, const rcm_reset_delay_time_t value)
Sets reset delay time.
void RCM_HAL_SetResetIntCmd(RCM_Type *const baseAddr, const rcm_source_names_t resetInterrupt, const bool enable)
Enables/disables a specified system reset interrupt.
#define RCM_RPC_RSTFLTSS_SHIFT
static void RCM_HAL_SetFilterWidth(RCM_Type *const baseAddr, const uint32_t width)
Sets the reset pin filter width.