MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
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... | |
#define FSL_SYSCTL_DRIVER_VERSION (MAKE_VERSION(2, 0, 2)) |
Version 2.0.2.
enum _sysctl_share_src |
enum _sysctl_dataout_mask |
void SYSCTL_Init | ( | SYSCTL_Type * | base | ) |
base | Base address of the SYSCTL peripheral. |
void SYSCTL_Deinit | ( | SYSCTL_Type * | base | ) |
base | Base 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 | ||
) |
base | Base address of the SYSCTL peripheral. |
flexCommIndex | index of flexcomm, reference _sysctl_share_src |
sckSet | share set for sck,reference _sysctl_share_set_index |
wsSet | share set for ws, reference _sysctl_share_set_index |
dataInSet | share set for data in, reference _sysctl_share_set_index |
dataOutSet | share 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 | ||
) |
base | Base address of the SYSCTL peripheral |
flexCommIndex | index of flexcomm,reference _sysctl_share_src |
signal | FCCTRLSEL signal shift |
setIndex | share 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 | ||
) |
base | Base address of the SYSCTL peripheral |
setIndex | index of share set, reference _sysctl_share_set_index |
sckShareSrc | sck source for this share set,reference _sysctl_share_src |
wsShareSrc | ws source for this share set,reference _sysctl_share_src |
dataInShareSrc | data in source for this share set,reference _sysctl_share_src |
dataOutShareSrc | data 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 | ||
) |
base | Base address of the SYSCTL peripheral |
setIndex | index of share set, reference _sysctl_share_set_index |
sckShareSrc | sck source fro this share set,reference _sysctl_share_src |