RTEMS 6.1-rc1
Enumerator
Src

Driver version

enum  _src_reset_status_flags {
  kSRC_WarmBootIndicationFlag = SRC_SRSR_WBI_MASK , kSRC_TemperatureSensorResetFlag = SRC_SRSR_TSR_MASK , kSRC_JTAGSoftwareResetFlag = SRC_SRSR_SJC_MASK , kSRC_JTAGGeneratedResetFlag = SRC_SRSR_JTAG_MASK ,
  kSRC_WatchdogResetFlag = SRC_SRSR_WDOG_MASK
}
 SRC reset status flags. More...
 
enum  _src_warm_reset_bypass_count { kSRC_WarmResetWaitAlways = 0U , kSRC_WarmResetWaitClk16 = 1U , kSRC_WarmResetWaitClk32 = 2U , kSRC_WarmResetWaitClk64 = 3U }
 Selection of WARM reset bypass count. More...
 
typedef enum _src_warm_reset_bypass_count src_warm_reset_bypass_count_t
 Selection of WARM reset bypass count. More...
 
void SRC_ClearResetStatusFlags (SRC_Type *base, uint32_t flags)
 Clear the status flags of SRC. More...
 
#define FSL_SRC_DRIVER_VERSION   (MAKE_VERSION(2, 0, 1))
 SRC driver version 2.0.1.
 

Detailed Description

Typedef Documentation

◆ src_warm_reset_bypass_count_t

Selection of WARM reset bypass count.

This type defines the 32KHz clock cycles to count before bypassing the MMDC acknowledge for WARM reset. If the MMDC acknowledge is not asserted before this counter is elapsed, a COLD reset will be initiated.

Enumeration Type Documentation

◆ _src_reset_status_flags

SRC reset status flags.

Enumerator
kSRC_WarmBootIndicationFlag 

WARM boot indication shows that WARM boot was initiated by software.

kSRC_TemperatureSensorResetFlag 

Indicates whether the reset was the result of software reset from on-chip Temperature Sensor. Temperature Sensor Interrupt needs to be served before this bit can be cleaned.

kSRC_JTAGSoftwareResetFlag 

Indicates whether the reset was the result of setting SJC_GPCCR bit 31.

kSRC_JTAGGeneratedResetFlag 

Indicates a reset has been caused by JTAG selection of certain IR codes: EXTEST or HIGHZ.

kSRC_WatchdogResetFlag 

Indicates a reset has been caused by the watchdog timer timing out. This reset source can be blocked by disabling the watchdog.

◆ _src_warm_reset_bypass_count

Selection of WARM reset bypass count.

This type defines the 32KHz clock cycles to count before bypassing the MMDC acknowledge for WARM reset. If the MMDC acknowledge is not asserted before this counter is elapsed, a COLD reset will be initiated.

Enumerator
kSRC_WarmResetWaitAlways 

System will wait until MMDC acknowledge is asserted.

kSRC_WarmResetWaitClk16 

Wait 16 32KHz clock cycles before switching the reset.

kSRC_WarmResetWaitClk32 

Wait 32 32KHz clock cycles before switching the reset.

kSRC_WarmResetWaitClk64 

Wait 64 32KHz clock cycles before switching the reset.

Function Documentation

◆ SRC_ClearResetStatusFlags()

void SRC_ClearResetStatusFlags ( SRC_Type base,
uint32_t  flags 
)

Clear the status flags of SRC.

Parameters
baseSRC peripheral base address.
flagsvalue of status flags to be cleared, see to _src_reset_status_flags.

brief Clear the status flags of SRC.

param base SRC peripheral base address. param Mask value of status flags to be cleared, see to _src_reset_status_flags.