RTEMS 6.1-rc1
Data Structures
Soc_src

Data Structures

struct  _src_setpoint_authentication
 The structure of setpoint authentication. More...
 
struct  _src_domain_mode_authentication
 The stucture of domain mode authentication. More...
 

Driver version

enum  _src_core_name { kSRC_CM7Core = 0x1U , kSRC_CM4Core = 0x2U }
 System core. More...
 
enum  _src_boot_fuse_selection { kSRC_SerialDownloaderBootFlow = 0U , kSRC_NormalBootFlow = 1U }
 The enumeration of the boot fuse selection. More...
 
enum  _src_global_system_reset_source {
  kSRC_WdogReset = 0U , kSRC_Wdog3Reset = 2U , kSRC_Wdog4Reset = 4U , kSRC_M4LockUpReset = 6U ,
  kSRC_M7LockUpReset = 8U , kSRC_M4RequestReset = 10U , kSRC_M7RequestReset = 12U , kSRC_TempsenseReset = 14U ,
  kSRC_CSUReset = 16U , kSRC_JageSoftwareReset = 18U , kSRC_OverVoltageReset = 20U
}
 The enumeration of global system reset sources. More...
 
enum  _src_global_system_reset_status_flags {
  kSRC_M7CoreIppResetFlag = 1UL << 0UL , kSRC_M7CoreM7RequestResetFlag = 1UL << 1UL , kSRC_M7CoreM7LockUpResetFlag = 1UL << 2UL , kSRC_M7CoreCSUResetFlag = 1UL << 3UL ,
  kSRC_M7CoreIppUserResetFlag = 1UL << 4UL , kSRC_M7CoreWdogResetFlag = 1UL << 5UL , kSRC_M7CoreJtagResetFlag = 1UL << 6UL , kSRC_M7CoreJtagSWResetFlag = 1UL << 7UL ,
  kSRC_M7CoreWdog3ResetFlag = 1UL << 8UL , kSRC_M7CoreWdog4ResetFlag = 1UL << 9UL , kSRC_M7CoreTempsenseResetFlag = 1UL << 10UL , kSRC_M7CoreM4RequestResetFlag = 1UL << 11UL ,
  kSRC_M7CoreM4LockUpResetFlag = 1UL << 12UL , kSRC_M7CoreOverVoltageResetFlag = 1UL << 13UL , kSRC_M7CoreCdogResetFlag = 1UL << 14UL , kSRC_M4CoreIppResetFlag = 1UL << 16UL ,
  kSRC_M4CoreM4RequestResetFlag = 1UL << 17UL , kSRC_M4CoreM4LockUpResetFlag = 1UL << 18UL , kSRC_M4CoreCSUResetFlag = 1UL << 19UL , kSRC_M4CoreIppUserResetFlag = 1UL << 20UL ,
  kSRC_M4CoreWdogResetFlag = 1UL << 21UL , kSRC_M4CoreJtagResetFlag = 1UL << 22UL , kSRC_M4CoreJtagSWResetFlag = 1UL << 23UL , kSRC_M4CoreWdog3ResetFlag = 1UL << 24UL ,
  kSRC_M4CoreWdog4ResetFlag = 1UL << 25UL , kSRC_M4CoreTempsenseResetFlag = 1UL << 26UL , kSRC_M4CoreM7RequestResetFlag = 1UL << 27UL , kSRC_M4CoreM7LockUpResetFlag = 1UL << 28UL ,
  kSRC_M4CoreOverVoltageResetFlag = 1UL << 29UL , kSRC_M4CoreCdogResetFlag = 1UL << 30UL
}
 The enumeration of reset status flags. More...
 
enum  _src_global_system_reset_mode { kSRC_ResetSystem = 0x0U , kSRC_DoNotResetSystem = 0x3U }
 The enumeration of global system reset mode. More...
 
enum  _src_reset_slice_name {
  kSRC_MegaSlice = 0x0U , kSRC_DisplaySlice = 0x1U , kSRC_WakeUpSlice = 0x2U , kSRC_LpsrSlice = 0x3U ,
  kSRC_M4CoreSlice = 0x4U , kSRC_M7CoreSlice = 0x5U , kSRC_M4DebugSlice = 0x6U , kSRC_M7DebugSlice = 0x7U ,
  kSRC_Usbphy1Slice = 0x8U , kSRC_Usbphy2Slice = 0x9U
}
 The enumeration of the slice name. More...
 
enum  _src_domain_mode_selection {
  kSRC_Cpu0RunModeAssertReset = 1UL << 0UL , kSRC_Cpu0WaitModeAssertReset = 1UL << 1UL , kSRC_Cpu0StopModeAssertReset = 1UL << 2UL , kSRC_Cpu0SuspendModeAssertReset = 1UL << 3UL ,
  kSRC_Cpu1RunModeAssertReset = 1UL << 4UL , kSRC_Cpu1WaitModeAssertReset = 1UL << 5UL , kSRC_Cpu1StopModeAssertReset = 1UL << 6UL , kSRC_Cpu1SuspendModeAssertReset = 1UL << 7UL
}
 The enumeration of the domain mode. More...
 
enum  _src_setpoint_selection {
  kSRC_SetPoint0AssertReset = 1UL << 0UL , kSRC_SetPoint1AssertReset = 1UL << 1UL , kSRC_SetPoint2AssertReset = 1UL << 2UL , kSRC_SetPoint3AssertReset = 1UL << 3UL ,
  kSRC_SetPoint4AssertReset = 1UL << 4UL , kSRC_SetPoint5AssertReset = 1UL << 5UL , kSRC_SetPoint6AssertReset = 1UL << 6UL , kSRC_SetPoint7AssertReset = 1UL << 7UL ,
  kSRC_SetPoint8AssertReset = 1UL << 8UL , kSRC_SetPoint9AssertReset = 1UL << 9UL , kSRC_SetPoint10AssertReset = 1UL << 10UL , kSRC_SetPoint11AssertReset = 1UL << 11UL ,
  kSRC_SetPoint12AssertReset = 1UL << 12UL , kSRC_SetPoint13AssertReset = 1UL << 13UL , kSRC_SetPoint14AssertReset = 1UL << 14UL , kSRC_SetPoint15AssertReset = 1UL << 15UL
}
 The enumeration of setpoint. More...
 
enum  _src_general_purpose_register_index {
  kSRC_GeneralPurposeRegister1 = 0U , kSRC_GeneralPurposeRegister2 , kSRC_GeneralPurposeRegister3 , kSRC_GeneralPurposeRegister4 ,
  kSRC_GeneralPurposeRegister5 , kSRC_GeneralPurposeRegister6 , kSRC_GeneralPurposeRegister7 , kSRC_GeneralPurposeRegister8 ,
  kSRC_GeneralPurposeRegister9 , kSRC_GeneralPurposeRegister10 , kSRC_GeneralPurposeRegister11 , kSRC_GeneralPurposeRegister12 ,
  kSRC_GeneralPurposeRegister13 , kSRC_GeneralPurposeRegister14 , kSRC_GeneralPurposeRegister15 , kSRC_GeneralPurposeRegister16 ,
  kSRC_GeneralPurposeRegister17 , kSRC_GeneralPurposeRegister18 , kSRC_GeneralPurposeRegister19 , kSRC_GeneralPurposeRegister20
}
 The index of each general purpose register. More...
 
enum  _src_slice_reset_source { kSRC_SoftwareReset = SRC_SLICE_STAT_RST_BY_SW_MASK , kSRC_PowerModeTransferReset = SRC_SLICE_STAT_RST_BY_HW_MASK }
 The enumeration of the reset source of each slice. More...
 
enum  _src_slice_reset_state { kSRC_SliceResetFinished = 0U , kSRC_SliceResetInProcess = 1U }
 The enumeration of the reset state of each slice. More...
 
typedef enum _src_core_name src_core_name_t
 System core.
 
typedef enum _src_boot_fuse_selection src_boot_fuse_selection_t
 The enumeration of the boot fuse selection.
 
typedef enum _src_global_system_reset_source src_global_system_reset_source_t
 The enumeration of global system reset sources.
 
typedef enum _src_global_system_reset_mode src_global_system_reset_mode_t
 The enumeration of global system reset mode.
 
typedef enum _src_reset_slice_name src_reset_slice_name_t
 The enumeration of the slice name.
 
typedef enum _src_general_purpose_register_index src_general_purpose_register_index_t
 The index of each general purpose register.
 
typedef struct _src_setpoint_authentication src_setpoint_authentication_t
 The structure of setpoint authentication.
 
typedef struct _src_domain_mode_authentication src_domain_mode_authentication_t
 The stucture of domain mode authentication.
 
typedef enum _src_slice_reset_state src_slice_reset_state_t
 The enumeration of the reset state of each slice.
 
#define FSL_SRC_DRIVER_VERSION   (MAKE_VERSION(2, 1, 1))
 SRC driver version 2.1.1.
 
#define SRC_SLICE_ADDRESS_OFFSET   (0x200U)
 
#define SRC_SLICE_AUTHENTICATION_REGISTER_OFFSET   (0x0U)
 
#define SRC_SLICE_CONTROL_REGISTER_OFFSET   (0x4U)
 
#define SRC_SLICE_SETPOINT_CONFIG_REGISTER_OFFSET   (0x8U)
 
#define SRC_SLICE_DOMAIN_CONFIG_REGISTER_OFFSET   (0x0CU)
 
#define SRC_SLICE_STATUS_REGISTER_OFFSET   (0x10U)
 
#define SRC_GET_SLICE_REGISTER_ADDRESS(base, sliceName, registerOffset)    (((uint32_t)base) + SRC_SLICE_ADDRESS_OFFSET + ((uint32_t)(sliceName) << 5UL) + (registerOffset))
 
#define SRC_SLICE_STAT_UNDER_RST_MASK   (0x1U)
 
#define SRC_SLICE_STAT_RST_BY_HW_MASK   (0x4U)
 
#define SRC_SLICE_STAT_RST_BY_SW_MASK   (0x8U)
 
#define SRC_WHITE_LIST_VALUE(coreName)   (1UL << (uint32_t)(coreName))
 
#define SRC_ASSIGN_LIST_VALUE(coreName)   (1UL << (uint32_t)(coreName))
 
#define SRC_SLICE_AUTHEN_DOMAIN_MODE_MASK   (0x1U)
 
#define SRC_SLICE_AUTHEN_SETPOINT_MODE_MASK   (0x2U)
 
#define SRC_SLICE_AUTHEN_LOCK_MODE_MASK   (0x80U)
 
#define SRC_SLICE_AUTHEN_LOCK_MODE_SHIFT   (7U)
 
#define SRC_SLICE_AUTHEN_LOCK_MODE(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_LOCK_MODE_SHIFT)) & SRC_SLICE_AUTHEN_LOCK_MODE_MASK)
 
#define SRC_SLICE_AUTHEN_ASSIGN_LIST_MASK   (0xF00U)
 
#define SRC_SLICE_AUTHEN_ASSIGN_LIST_SHIFT   (8U)
 
#define SRC_SLICE_AUTHEN_ASSIGN_LIST(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_ASSIGN_LIST_SHIFT)) & SRC_SLICE_AUTHEN_ASSIGN_LIST_MASK)
 
#define SRC_SLICE_AUTHEN_LOCK_ASSIGN_MASK   (0x8000U)
 
#define SRC_SLICE_AUTHEN_LOCK_ASSIGN_SHIFT   (15)
 
#define SRC_SLICE_AUTHEN_LOCK_ASSIGN(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_LOCK_ASSIGN_SHIFT)) & SRC_SLICE_AUTHEN_LOCK_ASSIGN_MASK)
 
#define SRC_SLICE_AUTHEN_WHITE_LIST_MASK   (0xF0000U)
 
#define SRC_SLICE_AUTHEN_WHITE_LIST_SHIFT   (16U)
 
#define SRC_SLICE_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_WHITE_LIST_SHIFT)) & SRC_SLICE_AUTHEN_WHITE_LIST_MASK)
 
#define SRC_SLICE_AUTHEN_LOCK_LIST_MASK   (0x800000U)
 
#define SRC_SLICE_AUTHEN_LOCK_LIST_SHIFT   (23U)
 
#define SRC_SLICE_AUTHEN_LOCK_LIST(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_LOCK_LIST_SHIFT)) & SRC_SLICE_AUTHEN_LOCK_LIST_MASK)
 
#define SRC_SLICE_AUTHEN_USER_MASK   (0x1000000U)
 
#define SRC_SLICE_AUTHEN_USER_SHIFT   (24U)
 
#define SRC_SLICE_AUTHEN_USER(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_USER_SHIFT)) & SRC_SLICE_AUTHEN_USER_MASK)
 
#define SRC_SLICE_AUTHEN_NONSECURE_MASK   (0x2000000U)
 
#define SRC_SLICE_AUTHEN_NONSECURE_SHIFT   (25U)
 
#define SRC_SLICE_AUTHEN_NONSECURE(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_NONSECURE_SHIFT)) & SRC_SLICE_AUTHEN_NONSECURE_MASK)
 
#define SRC_SLICE_AUTHEN_LOCK_SETTING_MASK   (0x80000000U)
 
#define SRC_SLICE_AUTHEN_LOCK_SETTING_SHIFT   (31U)
 
#define SRC_SLICE_AUTHEN_LOCK_SETTING(x)    (((uint32_t)(((uint32_t)(x)) << SRC_SLICE_AUTHEN_LOCK_SETTING_SHIFT)) & SRC_SLICE_AUTHEN_LOCK_SETTING_MASK)
 

Core Reset release

void SRC_ReleaseCoreReset (SRC_Type *base, src_core_name_t coreName)
 Releases related core reset operation. More...
 

Global System Related Interfaces

void SRC_SetGlobalSystemResetMode (SRC_Type *base, src_global_system_reset_source_t resetSource, src_global_system_reset_mode_t resetMode)
 Sets the reset mode of global system reset source. More...
 

Slice Software Reset Related Interfaces

void SRC_AssertSliceSoftwareReset (SRC_Type *base, src_reset_slice_name_t sliceName)
 Asserts software reset for the selected slice. More...
 

Slice Low-Power Mode Transition Related Interfaces

void SRC_SetSliceSetPointConfig (SRC_Type *base, src_reset_slice_name_t sliceName, uint32_t setpointConfig)
 Sets setpoint configuration for the selected reset slice. More...
 
void SRC_SetSliceDomainModeConfig (SRC_Type *base, src_reset_slice_name_t sliceName, uint32_t domainConfig)
 Sets domain mode configuration for the selected reset slice. More...
 
void SRC_LockSliceMode (SRC_Type *base, src_reset_slice_name_t sliceName)
 Locks the value of SETPOINT_MODE and DOMAIN_MODE for the selected reset slice. More...
 

Get Slice Reset State

src_slice_reset_state_t SRC_GetSliceResetState (SRC_Type *base, src_reset_slice_name_t sliceName)
 Gets the reset state of the selected slice. More...
 

Detailed Description

Enumeration Type Documentation

◆ _src_boot_fuse_selection

The enumeration of the boot fuse selection.

Enumerator
kSRC_SerialDownloaderBootFlow 

The Boot flow jumps directly to the serial downloader.

kSRC_NormalBootFlow 

The Boot flow follows the Normal Boot flow.

◆ _src_core_name

System core.

Enumerator
kSRC_CM7Core 

System Core CM4.

kSRC_CM4Core 

System Core CM7.

◆ _src_domain_mode_selection

The enumeration of the domain mode.

Enumerator
kSRC_Cpu0RunModeAssertReset 

CPU0 in run mode will assert slice reset.

kSRC_Cpu0WaitModeAssertReset 

CPU0 in wait mode will assert reset.

kSRC_Cpu0StopModeAssertReset 

CPU0 in stop mode will assert reset.

kSRC_Cpu0SuspendModeAssertReset 

CPU0 in suspend mode will assert reset.

kSRC_Cpu1RunModeAssertReset 

CPU1 in run mode will assert slice reset.

kSRC_Cpu1WaitModeAssertReset 

CPU1 in wait mode will assert reset.

kSRC_Cpu1StopModeAssertReset 

CPU1 in stop mode will assert reset.

kSRC_Cpu1SuspendModeAssertReset 

CPU1 in suspend mode will assert reset.

◆ _src_general_purpose_register_index

The index of each general purpose register.

Enumerator
kSRC_GeneralPurposeRegister1 

The index of General Purpose Register1.

kSRC_GeneralPurposeRegister2 

The index of General Purpose Register2.

kSRC_GeneralPurposeRegister3 

The index of General Purpose Register3.

kSRC_GeneralPurposeRegister4 

The index of General Purpose Register4.

kSRC_GeneralPurposeRegister5 

The index of General Purpose Register5.

kSRC_GeneralPurposeRegister6 

The index of General Purpose Register6.

kSRC_GeneralPurposeRegister7 

The index of General Purpose Register7.

kSRC_GeneralPurposeRegister8 

The index of General Purpose Register8.

kSRC_GeneralPurposeRegister9 

The index of General Purpose Register9.

kSRC_GeneralPurposeRegister10 

The index of General Purpose Register10.

kSRC_GeneralPurposeRegister11 

The index of General Purpose Register11.

kSRC_GeneralPurposeRegister12 

The index of General Purpose Register12.

kSRC_GeneralPurposeRegister13 

The index of General Purpose Register13.

kSRC_GeneralPurposeRegister14 

The index of General Purpose Register14.

kSRC_GeneralPurposeRegister15 

The index of General Purpose Register15.

kSRC_GeneralPurposeRegister16 

The index of General Purpose Register16.

kSRC_GeneralPurposeRegister17 

The index of General Purpose Register17.

kSRC_GeneralPurposeRegister18 

The index of General Purpose Register18.

kSRC_GeneralPurposeRegister19 

The index of General Purpose Register19.

kSRC_GeneralPurposeRegister20 

The index of General Purpose Register20.

◆ _src_global_system_reset_mode

The enumeration of global system reset mode.

Enumerator
kSRC_ResetSystem 

Generate the global system reset.

kSRC_DoNotResetSystem 

Do not generate the global system reset.

◆ _src_global_system_reset_source

The enumeration of global system reset sources.

Enumerator
kSRC_WdogReset 

WDOG triggers the global system reset.

kSRC_Wdog3Reset 

WDOG3 triggers the global system reset.

kSRC_Wdog4Reset 

WODG4 triggers the global system reset.

kSRC_M4LockUpReset 

M4 core lockup triggers the global system reset.

kSRC_M7LockUpReset 

M7 core lockup triggers the global system reset.

kSRC_M4RequestReset 

M4 core request triggers the global system reset.

kSRC_M7RequestReset 

M7 core request triggers the global system reset.

kSRC_TempsenseReset 

Tempsense trigggers the global system reset.

kSRC_CSUReset 

CSU triggers the global system reset.

kSRC_JageSoftwareReset 

JATG software triggers the global system reset.

kSRC_OverVoltageReset 

Over voltage triggers the global system reset.

◆ _src_global_system_reset_status_flags

The enumeration of reset status flags.

Enumerator
kSRC_M7CoreIppResetFlag 

The M7 Core reset is the result of ipp_reset_b pin.

kSRC_M7CoreM7RequestResetFlag 

The M7 Core reset is the result of M7 core reset request.

kSRC_M7CoreM7LockUpResetFlag 

The M7 Core reset is the result of M7 core lock up.

kSRC_M7CoreCSUResetFlag 

The M7 Core reset is the result of csu_reset_b input.

kSRC_M7CoreIppUserResetFlag 

The M7 Core reset is the result of ipp_user_reset_b qualified reset.

kSRC_M7CoreWdogResetFlag 

The M7 Core reset is the result of the watchdog time-out event.

kSRC_M7CoreJtagResetFlag 

The M7 Core reset is the result of HIGH-Z reset from JTAG.

kSRC_M7CoreJtagSWResetFlag 

The M7 Core reset is the result of software reset from JTAG.

kSRC_M7CoreWdog3ResetFlag 

The M7 Core reset is the result of watchdog3 time-out event.

kSRC_M7CoreWdog4ResetFlag 

The M7 Core reset is the result of watchdog4 time-out event.

kSRC_M7CoreTempsenseResetFlag 

The M7 Core reset is the result of on-chip temperature sensor.

kSRC_M7CoreM4RequestResetFlag 

The M7 Core reset is the result of M4 CPU reset request.

kSRC_M7CoreM4LockUpResetFlag 

The M7 Core reset is the result of M4 CPU lock up.

kSRC_M7CoreOverVoltageResetFlag 

The M7 Core reset is the result of over voltage.

kSRC_M7CoreCdogResetFlag 

The M7 Core reset is the result of Cdog.

kSRC_M4CoreIppResetFlag 

The M4 Core reset is the result of ipp_reset_b pin.

kSRC_M4CoreM4RequestResetFlag 

The M4 Core reset is the result of M4 core reset request.

kSRC_M4CoreM4LockUpResetFlag 

The M4 Core reset is the result of M4 core lock up.

kSRC_M4CoreCSUResetFlag 

The M4 Core reset is the result of csu_reset_b input.

kSRC_M4CoreIppUserResetFlag 

The M4 Core reset is the result of ipp_user_reset_b qualified reset.

kSRC_M4CoreWdogResetFlag 

The M4 Core reset is the result of the watchdog time-out event.

kSRC_M4CoreJtagResetFlag 

The M4 Core reset is the result of HIGH-Z reset from JTAG.

kSRC_M4CoreJtagSWResetFlag 

The M4 Core reset is the result of software reset from JTAG.

kSRC_M4CoreWdog3ResetFlag 

The M4 Core reset is the result of watchdog3 time-out event.

kSRC_M4CoreWdog4ResetFlag 

The M4 Core reset is the result of watchdog4 time-out event.

kSRC_M4CoreTempsenseResetFlag 

The M4 Core reset is the result of on-chip temperature sensor.

kSRC_M4CoreM7RequestResetFlag 

The M4 Core reset is the result of M7 CPU reset request.

kSRC_M4CoreM7LockUpResetFlag 

The M4 Core reset is the result of M7 CPU lock up.

kSRC_M4CoreOverVoltageResetFlag 

The M4 Core reset is the result of over voltage.

kSRC_M4CoreCdogResetFlag 

The M4 Core reset is the result of Cdog.

◆ _src_reset_slice_name

The enumeration of the slice name.

Enumerator
kSRC_MegaSlice 

Megamix reset slice.

kSRC_DisplaySlice 

Displaymix reset slice.

kSRC_WakeUpSlice 

Wakeupmix reset slice.

kSRC_LpsrSlice 

Lpsrmix reset slice.

kSRC_M4CoreSlice 

M4 core reset slice.

kSRC_M7CoreSlice 

M7 core reset slice.

kSRC_M4DebugSlice 

M4 debug reset slice.

kSRC_M7DebugSlice 

M7 debug reset slice.

kSRC_Usbphy1Slice 

USBPHY1 reset slice.

kSRC_Usbphy2Slice 

USBPHY2 reset slice.

◆ _src_setpoint_selection

The enumeration of setpoint.

Enumerator
kSRC_SetPoint0AssertReset 

In setpoint0 will assert slice reset.

kSRC_SetPoint1AssertReset 

In setpoint1 will assert slice reset.

kSRC_SetPoint2AssertReset 

In setpoint2 will assert slice reset.

kSRC_SetPoint3AssertReset 

In setpoint3 will assert slice reset.

kSRC_SetPoint4AssertReset 

In setpoint4 will assert slice reset.

kSRC_SetPoint5AssertReset 

In setpoint5 will assert slice reset.

kSRC_SetPoint6AssertReset 

In setpoint6 will assert slice reset.

kSRC_SetPoint7AssertReset 

In setpoint7 will assert slice reset.

kSRC_SetPoint8AssertReset 

In setpoint8 will assert slice reset.

kSRC_SetPoint9AssertReset 

In setpoint9 will assert slice reset.

kSRC_SetPoint10AssertReset 

In setpoint10 will assert slice reset.

kSRC_SetPoint11AssertReset 

In setpoint11 will assert slice reset.

kSRC_SetPoint12AssertReset 

In setpoint12 will assert slice reset.

kSRC_SetPoint13AssertReset 

In setpoint13 will assert slice reset.

kSRC_SetPoint14AssertReset 

In setpoint14 will assert slice reset.

kSRC_SetPoint15AssertReset 

In setpoint15 will assert slice reset.

◆ _src_slice_reset_source

The enumeration of the reset source of each slice.

Enumerator
kSRC_SoftwareReset 

Reset is caused by software setting.

kSRC_PowerModeTransferReset 

Reset is caused by the power mode transfer.

◆ _src_slice_reset_state

The enumeration of the reset state of each slice.

Enumerator
kSRC_SliceResetFinished 

The reset is finished.

kSRC_SliceResetInProcess 

The reset is in process.

Function Documentation

◆ SRC_AssertSliceSoftwareReset()

void SRC_AssertSliceSoftwareReset ( SRC_Type base,
src_reset_slice_name_t  sliceName 
)

Asserts software reset for the selected slice.

Note
This function will return as soon as the resset is finished.
Parameters
baseSRC peripheral base address.
sliceNameThe slice to be reset. See src_reset_slice_name_t for more details.

brief Asserts software reset for the selected slice.

param base SRC peripheral base address. param sliceName The selected reset slice. See src_reset_slice_name_t for more details.

◆ SRC_GetSliceResetState()

src_slice_reset_state_t SRC_GetSliceResetState ( SRC_Type base,
src_reset_slice_name_t  sliceName 
)

Gets the reset state of the selected slice.

Parameters
baseSRC peripheral base address.
sliceNameThe selected slice. See src_reset_slice_name_t for more details.
Return values
kSRC_SliceResetInProcessThe reset is in process.
kSRC_SliceResetFinishedThe reset is finished.

brief Gets the reset state of the selected slice.

param base SRC peripheral base address. param sliceName The selected slice. See src_reset_slice_name_t for more details. retval kSRC_SliceResetInProcess The reset is in process. retval kSRC_SliceResetFinished The reset is finished.

◆ SRC_LockSliceMode()

void SRC_LockSliceMode ( SRC_Type base,
src_reset_slice_name_t  sliceName 
)

Locks the value of SETPOINT_MODE and DOMAIN_MODE for the selected reset slice.

Parameters
baseSRC peripheral base address.
sliceNameThe selected reset slice. See src_reset_slice_name_t for more details.

brief Locks the value of SETPOINT_MODE and DOMAIN_MODE for the selected reset slice.

param base SRC peripheral base address. param sliceName The selected reset slice. See src_reset_slice_name_t for more details.

◆ SRC_ReleaseCoreReset()

void SRC_ReleaseCoreReset ( SRC_Type base,
src_core_name_t  coreName 
)

Releases related core reset operation.

The core reset will be held until the boot core to release it.

Parameters
baseSRC peripheral base address.
coreNameThe name of the reset core to be released.

brief Release related core reset operation.

The core reset will be held until boot core to release it.

param base SRC peripheral base address. param coreName The name of the reset core to be released.

◆ SRC_SetGlobalSystemResetMode()

void SRC_SetGlobalSystemResetMode ( SRC_Type base,
src_global_system_reset_source_t  resetSource,
src_global_system_reset_mode_t  resetMode 
)

Sets the reset mode of global system reset source.

This function sets the selected mode of the input global system reset sources.

Parameters
baseSRC peripheral base address.
resetSourceThe global system reset source. See src_global_system_reset_source_t for more details.
resetModeThe reset mode of each reset source. See src_global_system_reset_mode_t for more details.

brief Sets the reset mode of global system reset source.

This function sets the selected mode of the input global system reset sources. This function will return as soon as the reset if finished.

param base SRC peripheral base address. param resetSource The global system reset source. See src_global_system_reset_source_t for more details. param resetMode The reset mode of each reset source. See src_global_system_reset_mode_t for more details.

◆ SRC_SetSliceDomainModeConfig()

void SRC_SetSliceDomainModeConfig ( SRC_Type base,
src_reset_slice_name_t  sliceName,
uint32_t  domainConfig 
)

Sets domain mode configuration for the selected reset slice.

Parameters
baseSRC peripheral base address.
sliceNameThe selected reset slice. See src_reset_slice_name_t for more details.
domainConfigThe logic OR'ed value of _src_domain_mode_selection enumerations.

brief Sets domain mode configuration for the selected reset slice.

param base SRC peripheral base address. param sliceName The selected reset slice. See src_reset_slice_name_t for more details. param domainConfig The logic OR'ed value of _src_domain_mode_selection.

◆ SRC_SetSliceSetPointConfig()

void SRC_SetSliceSetPointConfig ( SRC_Type base,
src_reset_slice_name_t  sliceName,
uint32_t  setpointConfig 
)

Sets setpoint configuration for the selected reset slice.

Parameters
baseSRC peripheral base address.
sliceNameThe selected reset slice. See src_reset_slice_name_t for more details.
setpointConfigThe logic OR'ed value of _src_setpoint_selection enumeration, when the system in the selected setpoint slice reset will be asserted.

brief Sets setpoint configuration for the selected reset slice.

param base SRC peripheral base address. param sliceName The selected reset slice. See src_reset_slice_name_t for more details. param setPointConfig The logic OR'ed value of _src_setpoint_selection. When the system in the selected setpoint slice reset will be assert.