MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
SYSCTL: I2S bridging and signal sharing Configuration

Overview

The MCUXpresso SDK provides a peripheral driver for the SYSCTL module of MCUXpresso SDK devices. For furter details, see the corresponding chapter.

Files

file  fsl_sysctl.h
 
file  fsl_sysctl.h
 

Enumerations

enum  _sysctl_share_set_index {
  kSYSCTL_ShareSet0 = 0,
  kSYSCTL_ShareSet1 = 1
}
 SYSCTL share set. More...
 
enum  sysctl_fcctrlsel_signal_t {
  kSYSCTL_FlexcommSignalSCK = SYSCTL_FCCTRLSEL_SCKINSEL_SHIFT,
  kSYSCTL_FlexcommSignalWS = SYSCTL_FCCTRLSEL_WSINSEL_SHIFT,
  kSYSCTL_FlexcommSignalDataIn = SYSCTL_FCCTRLSEL_DATAINSEL_SHIFT,
  kSYSCTL_FlexcommSignalDataOut = SYSCTL_FCCTRLSEL_DATAOUTSEL_SHIFT
}
 SYSCTL flexcomm signal. More...
 
enum  _sysctl_share_src {
  kSYSCTL_Flexcomm0 = 0,
  kSYSCTL_Flexcomm1 = 1,
  kSYSCTL_Flexcomm2 = 2,
  kSYSCTL_Flexcomm4 = 4,
  kSYSCTL_Flexcomm5 = 5,
  kSYSCTL_Flexcomm6 = 6,
  kSYSCTL_Flexcomm7 = 7
}
 SYSCTL flexcomm index. More...
 
enum  _sysctl_dataout_mask {
  kSYSCTL_Flexcomm0DataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_FC0DATAOUTEN_MASK,
  kSYSCTL_Flexcomm1DataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_FC1DATAOUTEN_MASK,
  kSYSCTL_Flexcomm2DataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_F20DATAOUTEN_MASK,
  kSYSCTL_Flexcomm4DataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_FC4DATAOUTEN_MASK,
  kSYSCTL_Flexcomm5DataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_FC5DATAOUTEN_MASK,
  kSYSCTL_Flexcomm6DataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_FC6DATAOUTEN_MASK,
  kSYSCTL_Flexcomm7DataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_FC7DATAOUTEN_MASK
}
 SYSCTL shared data out mask. More...
 
enum  sysctl_sharedctrlset_signal_t {
  kSYSCTL_SharedCtrlSignalSCK = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_SHAREDSCKSEL_SHIFT,
  kSYSCTL_SharedCtrlSignalWS = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_SHAREDWSSEL_SHIFT,
  kSYSCTL_SharedCtrlSignalDataIn = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_SHAREDDATASEL_SHIFT,
  kSYSCTL_SharedCtrlSignalDataOut = SYSCTL_SHARECTRLSET_SHAREDCTRLSET_FC0DATAOUTEN_SHIFT
}
 SYSCTL flexcomm signal. More...
 

Driver version

#define FSL_SYSCTL_DRIVER_VERSION   (MAKE_VERSION(2, 0, 2))
 Group sysctl driver version for SDK. More...
 

Initialization and deinitialization

void SYSCTL_Init (SYSCTL_Type *base)
 SYSCTL initial. More...
 
void SYSCTL_Deinit (SYSCTL_Type *base)
 SYSCTL deinit. More...
 

SYSCTL share signal configure

void SYSCTL_SetFlexcommShareSet (SYSCTL_Type *base, uint32_t flexCommIndex, uint32_t sckSet, uint32_t wsSet, uint32_t dataInSet, uint32_t dataOutSet)
 SYSCTL share set configure for flexcomm. More...
 
void SYSCTL_SetShareSet (SYSCTL_Type *base, uint32_t flexCommIndex, sysctl_fcctrlsel_signal_t signal, uint32_t set)
 SYSCTL share set configure for separate signal. More...
 
void SYSCTL_SetShareSetSrc (SYSCTL_Type *base, uint32_t setIndex, uint32_t sckShareSrc, uint32_t wsShareSrc, uint32_t dataInShareSrc, uint32_t dataOutShareSrc)
 SYSCTL share set source configure. More...
 
void SYSCTL_SetShareSignalSrc (SYSCTL_Type *base, uint32_t setIndex, sysctl_sharedctrlset_signal_t signal, uint32_t shareSrc)
 SYSCTL sck source configure. More...
 

Macro Definition Documentation

#define FSL_SYSCTL_DRIVER_VERSION   (MAKE_VERSION(2, 0, 2))

Version 2.0.2.

Enumeration Type Documentation

Enumerator
kSYSCTL_ShareSet0 

share set 0

kSYSCTL_ShareSet1 

share set 1

Enumerator
kSYSCTL_FlexcommSignalSCK 

SCK signal.

kSYSCTL_FlexcommSignalWS 

WS signal.

kSYSCTL_FlexcommSignalDataIn 

Data in signal.

kSYSCTL_FlexcommSignalDataOut 

Data out signal.

Enumerator
kSYSCTL_Flexcomm0 

share set 0

kSYSCTL_Flexcomm1 

share set 1

kSYSCTL_Flexcomm2 

share set 2

kSYSCTL_Flexcomm4 

share set 4

kSYSCTL_Flexcomm5 

share set 5

kSYSCTL_Flexcomm6 

share set 6

kSYSCTL_Flexcomm7 

share set 7

Enumerator
kSYSCTL_Flexcomm0DataOut 

share set 0

kSYSCTL_Flexcomm1DataOut 

share set 1

kSYSCTL_Flexcomm2DataOut 

share set 2

kSYSCTL_Flexcomm4DataOut 

share set 4

kSYSCTL_Flexcomm5DataOut 

share set 5

kSYSCTL_Flexcomm6DataOut 

share set 6

kSYSCTL_Flexcomm7DataOut 

share set 7

Enumerator
kSYSCTL_SharedCtrlSignalSCK 

SCK signal.

kSYSCTL_SharedCtrlSignalWS 

WS signal.

kSYSCTL_SharedCtrlSignalDataIn 

Data in signal.

kSYSCTL_SharedCtrlSignalDataOut 

Data out signal.

Function Documentation

void SYSCTL_Init ( SYSCTL_Type *  base)
Parameters
baseBase address of the SYSCTL peripheral.
void SYSCTL_Deinit ( SYSCTL_Type *  base)
Parameters
baseBase address of the SYSCTL peripheral.
void SYSCTL_SetFlexcommShareSet ( SYSCTL_Type *  base,
uint32_t  flexCommIndex,
uint32_t  sckSet,
uint32_t  wsSet,
uint32_t  dataInSet,
uint32_t  dataOutSet 
)
Parameters
baseBase address of the SYSCTL peripheral.
flexCommIndexindex of flexcomm, reference _sysctl_share_src
sckSetshare set for sck,reference _sysctl_share_set_index
wsSetshare set for ws, reference _sysctl_share_set_index
dataInSetshare set for data in, reference _sysctl_share_set_index
dataOutSetshare set for data out, reference _sysctl_dataout_mask
void SYSCTL_SetShareSet ( SYSCTL_Type *  base,
uint32_t  flexCommIndex,
sysctl_fcctrlsel_signal_t  signal,
uint32_t  set 
)
Parameters
baseBase address of the SYSCTL peripheral
flexCommIndexindex of flexcomm,reference _sysctl_share_src
signalFCCTRLSEL signal shift
setIndexshare set for sck, reference _sysctl_share_set_index
void SYSCTL_SetShareSetSrc ( SYSCTL_Type *  base,
uint32_t  setIndex,
uint32_t  sckShareSrc,
uint32_t  wsShareSrc,
uint32_t  dataInShareSrc,
uint32_t  dataOutShareSrc 
)
Parameters
baseBase address of the SYSCTL peripheral
setIndexindex of share set, reference _sysctl_share_set_index
sckShareSrcsck source for this share set,reference _sysctl_share_src
wsShareSrcws source for this share set,reference _sysctl_share_src
dataInShareSrcdata in source for this share set,reference _sysctl_share_src
dataOutShareSrcdata out source for this share set,reference _sysctl_dataout_mask
void SYSCTL_SetShareSignalSrc ( SYSCTL_Type *  base,
uint32_t  setIndex,
sysctl_sharedctrlset_signal_t  signal,
uint32_t  shareSrc 
)
Parameters
baseBase address of the SYSCTL peripheral
setIndexindex of share set, reference _sysctl_share_set_index
sckShareSrcsck source fro this share set,reference _sysctl_share_src