MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Overview

The MCUXpresso SDK provides a reset driver for the MCUXpresso SDK devices.

Files

file  fsl_reset.h
 

Macros

#define ADC_RSTS
 

Enumerations

enum  SYSCON_RSTn_t {
  kSPIFI_RST_SHIFT_RSTn = 0 | 10U,
  kMUX_RST_SHIFT_RSTn = 0 | 11U,
  kIOCON_RST_SHIFT_RSTn = 0 | 13U,
  kGPIO0_RST_SHIFT_RSTn = 0 | 14U,
  kGPIO1_RST_SHIFT_RSTn = 0 | 15U,
  kGPIO2_RST_SHIFT_RSTn = 0 | 16U,
  kGPIO3_RST_SHIFT_RSTn = 0 | 17U,
  kPINT_RST_SHIFT_RSTn = 0 | 18U,
  kGINT_RST_SHIFT_RSTn = 0 | 19U,
  kDMA_RST_SHIFT_RSTn = 0 | 20U,
  kCRC_RST_SHIFT_RSTn = 0 | 21U,
  kWWDT_RST_SHIFT_RSTn = 0 | 22U,
  kADC0_RST_SHIFT_RSTn = 0 | 27U,
  kMRT_RST_SHIFT_RSTn = 65536 | 0U,
  kSCT0_RST_SHIFT_RSTn = 65536 | 2U,
  kMCAN0_RST_SHIFT_RSTn = 65536 | 7U,
  kMCAN1_RST_SHIFT_RSTn = 65536 | 8U,
  kUTICK_RST_SHIFT_RSTn = 65536 | 10U,
  kFC0_RST_SHIFT_RSTn = 65536 | 11U,
  kFC1_RST_SHIFT_RSTn = 65536 | 12U,
  kFC2_RST_SHIFT_RSTn = 65536 | 13U,
  kFC3_RST_SHIFT_RSTn = 65536 | 14U,
  kFC4_RST_SHIFT_RSTn = 65536 | 15U,
  kFC5_RST_SHIFT_RSTn = 65536 | 16U,
  kFC6_RST_SHIFT_RSTn = 65536 | 17U,
  kFC7_RST_SHIFT_RSTn = 65536 | 18U,
  kDMIC_RST_SHIFT_RSTn = 65536 | 19U,
  kCT32B2_RST_SHIFT_RSTn = 65536 | 22U,
  kUSB0D_RST_SHIFT_RSTn = 65536 | 25U,
  kCT32B0_RST_SHIFT_RSTn = 65536 | 26U,
  kCT32B1_RST_SHIFT_RSTn = 65536 | 27U,
  kLCD_RST_SHIFT_RSTn = 131072 | 2U,
  kSDIO_RST_SHIFT_RSTn = 131072 | 3U,
  kUSB1H_RST_SHIFT_RSTn = 131072 | 4U,
  kUSB1D_RST_SHIFT_RSTn = 131072 | 5U,
  kUSB1RAM_RST_SHIFT_RSTn = 131072 | 6U,
  kEMC_RST_SHIFT_RSTn = 131072 | 7U,
  kETH_RST_SHIFT_RSTn = 131072 | 8U,
  kGPIO4_RST_SHIFT_RSTn = 131072 | 9U,
  kGPIO5_RST_SHIFT_RSTn = 131072 | 10U,
  kAES_RST_SHIFT_RSTn = 131072 | 11U,
  kOTP_RST_SHIFT_RSTn = 131072 | 12U,
  kRNG_RST_SHIFT_RSTn = 131072 | 13U,
  kFC8_RST_SHIFT_RSTn = 131072 | 14U,
  kFC9_RST_SHIFT_RSTn = 131072 | 15U,
  kUSB0HMR_RST_SHIFT_RSTn = 131072 | 16U,
  kUSB0HSL_RST_SHIFT_RSTn = 131072 | 17U,
  kSHA_RST_SHIFT_RSTn = 131072 | 18U,
  kSC0_RST_SHIFT_RSTn = 131072 | 19U,
  kSC1_RST_SHIFT_RSTn = 131072 | 20U,
  kFC10_RST_SHIFT_RSTn = 131072 | 21U,
  kCT32B3_RST_SHIFT_RSTn = 67108864 | 13U,
  kCT32B4_RST_SHIFT_RSTn = 67108864 | 14U
}
 Enumeration for peripheral reset control bits. More...
 

Functions

void RESET_SetPeripheralReset (reset_ip_name_t peripheral)
 Assert reset to peripheral. More...
 
void RESET_ClearPeripheralReset (reset_ip_name_t peripheral)
 Clear reset to peripheral. More...
 
void RESET_PeripheralReset (reset_ip_name_t peripheral)
 Reset peripheral module. More...
 

Driver version

#define FSL_RESET_DRIVER_VERSION   (MAKE_VERSION(2, 0, 0))
 reset driver version 2.0.0. More...
 

Macro Definition Documentation

#define FSL_RESET_DRIVER_VERSION   (MAKE_VERSION(2, 0, 0))
#define ADC_RSTS
Value:
{ \
} /* Reset bits for ADC peripheral */
Definition: fsl_reset.h:81

Array initializers with peripheral reset bits

Enumeration Type Documentation

Defines the enumeration for peripheral reset control bits in PRESETCTRL/ASYNCPRESETCTRL registers

Enumerator
kSPIFI_RST_SHIFT_RSTn 

SPIFI reset control

kMUX_RST_SHIFT_RSTn 

Input mux reset control

kIOCON_RST_SHIFT_RSTn 

IOCON reset control

kGPIO0_RST_SHIFT_RSTn 

GPIO0 reset control

kGPIO1_RST_SHIFT_RSTn 

GPIO1 reset control

kGPIO2_RST_SHIFT_RSTn 

GPIO2 reset control

kGPIO3_RST_SHIFT_RSTn 

GPIO3 reset control

kPINT_RST_SHIFT_RSTn 

Pin interrupt (PINT) reset control

kGINT_RST_SHIFT_RSTn 

Grouped interrupt (PINT) reset control.

kDMA_RST_SHIFT_RSTn 

DMA reset control

kCRC_RST_SHIFT_RSTn 

CRC reset control

kWWDT_RST_SHIFT_RSTn 

Watchdog timer reset control

kADC0_RST_SHIFT_RSTn 

ADC0 reset control

kMRT_RST_SHIFT_RSTn 

Multi-rate timer (MRT) reset control

kSCT0_RST_SHIFT_RSTn 

SCTimer/PWM 0 (SCT0) reset control

kMCAN0_RST_SHIFT_RSTn 

MCAN0 reset control

kMCAN1_RST_SHIFT_RSTn 

MCAN1 reset control

kUTICK_RST_SHIFT_RSTn 

Micro-tick timer reset control

kFC0_RST_SHIFT_RSTn 

Flexcomm Interface 0 reset control

kFC1_RST_SHIFT_RSTn 

Flexcomm Interface 1 reset control

kFC2_RST_SHIFT_RSTn 

Flexcomm Interface 2 reset control

kFC3_RST_SHIFT_RSTn 

Flexcomm Interface 3 reset control

kFC4_RST_SHIFT_RSTn 

Flexcomm Interface 4 reset control

kFC5_RST_SHIFT_RSTn 

Flexcomm Interface 5 reset control

kFC6_RST_SHIFT_RSTn 

Flexcomm Interface 6 reset control

kFC7_RST_SHIFT_RSTn 

Flexcomm Interface 7 reset control

kDMIC_RST_SHIFT_RSTn 

Digital microphone interface reset control

kCT32B2_RST_SHIFT_RSTn 

CT32B2 reset control

kUSB0D_RST_SHIFT_RSTn 

USB0D reset control

kCT32B0_RST_SHIFT_RSTn 

CT32B0 reset control

kCT32B1_RST_SHIFT_RSTn 

CT32B1 reset control

kLCD_RST_SHIFT_RSTn 

LCD reset control

kSDIO_RST_SHIFT_RSTn 

SDIO reset control

kUSB1H_RST_SHIFT_RSTn 

USB1H reset control

kUSB1D_RST_SHIFT_RSTn 

USB1D reset control

kUSB1RAM_RST_SHIFT_RSTn 

USB1RAM reset control

kEMC_RST_SHIFT_RSTn 

EMC reset control

kETH_RST_SHIFT_RSTn 

ETH reset control

kGPIO4_RST_SHIFT_RSTn 

GPIO4 reset control

kGPIO5_RST_SHIFT_RSTn 

GPIO5 reset control

kAES_RST_SHIFT_RSTn 

AES reset control

kOTP_RST_SHIFT_RSTn 

OTP reset control

kRNG_RST_SHIFT_RSTn 

RNG reset control

kFC8_RST_SHIFT_RSTn 

Flexcomm Interface 8 reset control

kFC9_RST_SHIFT_RSTn 

Flexcomm Interface 9 reset control

kUSB0HMR_RST_SHIFT_RSTn 

USB0HMR reset control

kUSB0HSL_RST_SHIFT_RSTn 

USB0HSL reset control

kSHA_RST_SHIFT_RSTn 

SHA reset control

kSC0_RST_SHIFT_RSTn 

SC0 reset control

kSC1_RST_SHIFT_RSTn 

SC1 reset control

kFC10_RST_SHIFT_RSTn 

Flexcomm Interface 10 reset control

kCT32B3_RST_SHIFT_RSTn 

CT32B3 reset control

kCT32B4_RST_SHIFT_RSTn 

CT32B4 reset control

Function Documentation

void RESET_SetPeripheralReset ( reset_ip_name_t  peripheral)

Asserts reset signal to specified peripheral module.

Parameters
peripheralAssert reset to this peripheral. The enum argument contains encoding of reset register and reset bit position in the reset register.
void RESET_ClearPeripheralReset ( reset_ip_name_t  peripheral)

Clears reset signal to specified peripheral module, allows it to operate.

Parameters
peripheralClear reset to this peripheral. The enum argument contains encoding of reset register and reset bit position in the reset register.
void RESET_PeripheralReset ( reset_ip_name_t  peripheral)

Reset peripheral module.

Parameters
peripheralPeripheral to reset. The enum argument contains encoding of reset register and reset bit position in the reset register.