/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_powerquad_cmsis.c | 213 void arm_cfft_q31(const arm_cfft_instance_q31 *S, q31_t *p1, uint8_t ifftFlag, uint8_t bitReverseFl… in arm_cfft_q31() argument 219 uint32_t length = S->fftLen; in arm_cfft_q31() 235 void arm_cfft_q15(const arm_cfft_instance_q15 *S, q15_t *p1, uint8_t ifftFlag, uint8_t bitReverseFl… in arm_cfft_q15() argument 241 uint32_t length = S->fftLen; in arm_cfft_q15() 257 arm_status arm_rfft_init_q31(arm_rfft_instance_q31 *S, uint32_t fftLenReal, uint32_t ifftFlagR, uin… in arm_rfft_init_q31() argument 267 S->fftLenReal = (uint16_t)fftLenReal; in arm_rfft_init_q31() 270 S->ifftFlagR = (uint8_t)ifftFlagR; in arm_rfft_init_q31() 273 S->bitReverseFlagR = (uint8_t)bitReverseFlag; in arm_rfft_init_q31() 279 void arm_rfft_q31(const arm_rfft_instance_q31 *S, q31_t *pSrc, q31_t *pDst) in arm_rfft_q31() argument 281 uint32_t length = S->fftLenReal; in arm_rfft_q31() [all …]
|
D | fsl_powerquad_filter.c | 298 void PQ_BiquadCascadeDf2Init(pq_biquad_cascade_df2_instance *S, uint8_t numStages, pq_biquad_state_… in PQ_BiquadCascadeDf2Init() argument 300 S->numStages = numStages; in PQ_BiquadCascadeDf2Init() 301 S->pState = pState; in PQ_BiquadCascadeDf2Init() 304 void PQ_BiquadCascadeDf2F32(const pq_biquad_cascade_df2_instance *S, float *pSrc, float *pDst, uint… in PQ_BiquadCascadeDf2F32() argument 306 uint32_t stage = S->numStages; in PQ_BiquadCascadeDf2F32() 307 pq_biquad_state_t *states = S->pState; in PQ_BiquadCascadeDf2F32() 345 void PQ_BiquadCascadeDf2Fixed32(const pq_biquad_cascade_df2_instance *S, in PQ_BiquadCascadeDf2Fixed32() argument 350 uint32_t stage = S->numStages; in PQ_BiquadCascadeDf2Fixed32() 351 pq_biquad_state_t *states = S->pState; in PQ_BiquadCascadeDf2Fixed32() 388 void PQ_BiquadCascadeDf2Fixed16(const pq_biquad_cascade_df2_instance *S, in PQ_BiquadCascadeDf2Fixed16() argument [all …]
|
D | fsl_powerquad.h | 2581 void PQ_BiquadCascadeDf2Init(pq_biquad_cascade_df2_instance *S, uint8_t numStages, pq_biquad_state_… 2591 void PQ_BiquadCascadeDf2F32(const pq_biquad_cascade_df2_instance *S, float *pSrc, float *pDst, uint… 2601 void PQ_BiquadCascadeDf2Fixed32(const pq_biquad_cascade_df2_instance *S, 2614 void PQ_BiquadCascadeDf2Fixed16(const pq_biquad_cascade_df2_instance *S,
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_powerquad_cmsis.c | 213 void arm_cfft_q31(const arm_cfft_instance_q31 *S, q31_t *p1, uint8_t ifftFlag, uint8_t bitReverseFl… in arm_cfft_q31() argument 219 uint32_t length = S->fftLen; in arm_cfft_q31() 235 void arm_cfft_q15(const arm_cfft_instance_q15 *S, q15_t *p1, uint8_t ifftFlag, uint8_t bitReverseFl… in arm_cfft_q15() argument 241 uint32_t length = S->fftLen; in arm_cfft_q15() 257 arm_status arm_rfft_init_q31(arm_rfft_instance_q31 *S, uint32_t fftLenReal, uint32_t ifftFlagR, uin… in arm_rfft_init_q31() argument 267 S->fftLenReal = (uint16_t)fftLenReal; in arm_rfft_init_q31() 270 S->ifftFlagR = (uint8_t)ifftFlagR; in arm_rfft_init_q31() 273 S->bitReverseFlagR = (uint8_t)bitReverseFlag; in arm_rfft_init_q31() 279 void arm_rfft_q31(const arm_rfft_instance_q31 *S, q31_t *pSrc, q31_t *pDst) in arm_rfft_q31() argument 281 uint32_t length = S->fftLenReal; in arm_rfft_q31() [all …]
|
D | fsl_powerquad_filter.c | 298 void PQ_BiquadCascadeDf2Init(pq_biquad_cascade_df2_instance *S, uint8_t numStages, pq_biquad_state_… in PQ_BiquadCascadeDf2Init() argument 300 S->numStages = numStages; in PQ_BiquadCascadeDf2Init() 301 S->pState = pState; in PQ_BiquadCascadeDf2Init() 304 void PQ_BiquadCascadeDf2F32(const pq_biquad_cascade_df2_instance *S, float *pSrc, float *pDst, uint… in PQ_BiquadCascadeDf2F32() argument 306 uint32_t stage = S->numStages; in PQ_BiquadCascadeDf2F32() 307 pq_biquad_state_t *states = S->pState; in PQ_BiquadCascadeDf2F32() 345 void PQ_BiquadCascadeDf2Fixed32(const pq_biquad_cascade_df2_instance *S, in PQ_BiquadCascadeDf2Fixed32() argument 350 uint32_t stage = S->numStages; in PQ_BiquadCascadeDf2Fixed32() 351 pq_biquad_state_t *states = S->pState; in PQ_BiquadCascadeDf2Fixed32() 388 void PQ_BiquadCascadeDf2Fixed16(const pq_biquad_cascade_df2_instance *S, in PQ_BiquadCascadeDf2Fixed16() argument [all …]
|
D | fsl_powerquad.h | 2581 void PQ_BiquadCascadeDf2Init(pq_biquad_cascade_df2_instance *S, uint8_t numStages, pq_biquad_state_… 2591 void PQ_BiquadCascadeDf2F32(const pq_biquad_cascade_df2_instance *S, float *pSrc, float *pDst, uint… 2601 void PQ_BiquadCascadeDf2Fixed32(const pq_biquad_cascade_df2_instance *S, 2614 void PQ_BiquadCascadeDf2Fixed16(const pq_biquad_cascade_df2_instance *S,
|
/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_i2c.c | 281 while ((0U == (base->S & (uint8_t)kI2C_TransferCompleteFlag)) && (0U != waitTimes)) in I2C_InitTransferStateMachine() 290 while (0U == (base->S & (uint8_t)kI2C_TransferCompleteFlag)) in I2C_InitTransferStateMachine() 317 base->S = (uint8_t)kI2C_ArbitrationLostFlag; in I2C_CheckAndClearError() 336 uint32_t statusFlags = base->S; in I2C_MasterTransferRunStateMachine() 520 uint8_t tmpS = base->S; in I2C_TransferCommonIRQHandler() 579 base->S = 0xFFU; in I2C_MasterInit() 948 while ((0U != (base->S & (uint8_t)kI2C_BusBusyFlag)) && (0U != waitTimes)) in I2C_MasterStop() 959 while (0U != (base->S & (uint8_t)kI2C_BusBusyFlag)) in I2C_MasterStop() 975 uint32_t statusFlags = base->S; in I2C_MasterGetStatusFlags() 1016 while ((0U == (base->S & (uint8_t)kI2C_TransferCompleteFlag)) && (0U != waitTimes)) in I2C_MasterWriteBlocking() [all …]
|
D | fsl_i2c_edma.c | 107 while (0U == (i2cPrivateHandle->base->S & (uint8_t)kI2C_TransferCompleteFlag)) in I2C_MasterTransferCallbackEDMA() 122 while (0U == (i2cPrivateHandle->base->S & (uint8_t)kI2C_TransferCompleteFlag)) in I2C_MasterTransferCallbackEDMA() 138 while (0U == (i2cPrivateHandle->base->S & (uint8_t)kI2C_TransferCompleteFlag)) in I2C_MasterTransferCallbackEDMA() 169 base->S = (uint8_t)kI2C_ArbitrationLostFlag; in I2C_CheckAndClearError() 236 while ((0U == (base->S & (uint8_t)kI2C_IntPendingFlag)) && (0U != waitTimes)) in I2C_InitTransferStateMachineEDMA() 245 while (0U == (base->S & (uint8_t)kI2C_IntPendingFlag)) in I2C_InitTransferStateMachineEDMA() 251 result = I2C_CheckAndClearError(base, base->S); in I2C_InitTransferStateMachineEDMA() 280 base->S = (uint8_t)kI2C_IntPendingFlag; in I2C_InitTransferStateMachineEDMA() 288 while ((0U == (base->S & (uint8_t)kI2C_IntPendingFlag)) && (0U != waitTimes)) in I2C_InitTransferStateMachineEDMA() 297 while (0U == (base->S & (uint8_t)kI2C_IntPendingFlag)) in I2C_InitTransferStateMachineEDMA() [all …]
|
D | fsl_i2c_dma.c | 143 while (!(i2cPrivateHandle->base->S & kI2C_TransferCompleteFlag)) in I2C_MasterTransferCallbackDMA() 157 while (!(i2cPrivateHandle->base->S & kI2C_TransferCompleteFlag)) in I2C_MasterTransferCallbackDMA() 173 while (!(i2cPrivateHandle->base->S & kI2C_TransferCompleteFlag)) in I2C_MasterTransferCallbackDMA() 203 base->S = kI2C_ArbitrationLostFlag; in I2C_CheckAndClearError() 267 while (!(base->S & kI2C_IntPendingFlag)) in I2C_InitTransferStateMachineDMA() 272 result = I2C_CheckAndClearError(base, base->S); in I2C_InitTransferStateMachineDMA() 301 base->S = kI2C_IntPendingFlag; in I2C_InitTransferStateMachineDMA() 307 while (!(base->S & kI2C_IntPendingFlag)) in I2C_InitTransferStateMachineDMA() 312 result = I2C_CheckAndClearError(base, base->S); in I2C_InitTransferStateMachineDMA() 324 base->S = kI2C_IntPendingFlag; in I2C_InitTransferStateMachineDMA() [all …]
|
D | fsl_spi.c | 290 if (base->S & SPI_S_SPTEF_MASK) in SPI_SendTransfer() 304 while ((base->S & SPI_S_SPTEF_MASK) && (handle->txRemainingBytes >= bytes)) in SPI_SendTransfer() 348 if (base->S & SPI_S_SPRF_MASK) in SPI_ReceiveTransfer() 365 while ((base->S & SPI_S_RFIFOEF_MASK) == 0U) in SPI_ReceiveTransfer() 526 return ((base->S) | (((uint32_t)base->CI) << 8U)); in SPI_GetStatusFlags() 530 return (base->S); in SPI_GetStatusFlags() 533 return (base->S); in SPI_GetStatusFlags() 679 while ((base->S & SPI_S_SPTEF_MASK) == 0) in SPI_WriteBlocking() 767 while ((base->S & SPI_S_SPTEF_MASK) == 0U) in SPI_MasterTransferBlocking() 776 while ((base->S & SPI_S_SPRF_MASK) == 0U) in SPI_MasterTransferBlocking() [all …]
|
D | fsl_pdb.h | 515 return base->CH[channel].S; in PDB_GetADCPreTriggerStatusFlags() 529 base->CH[channel].S &= ~mask; in PDB_ClearADCPreTriggerStatusFlags()
|
/hal_nxp-2.7.6/mcux/devices/MKW22D5/ |
D | fsl_clock.c | 67 #define MCG_S_IRCST_VAL ((MCG->S & MCG_S_IRCST_MASK) >> MCG_S_IRCST_SHIFT) 68 #define MCG_S_CLKST_VAL ((MCG->S & MCG_S_CLKST_MASK) >> MCG_S_CLKST_SHIFT) 69 #define MCG_S_IREFST_VAL ((MCG->S & MCG_S_IREFST_MASK) >> MCG_S_IREFST_SHIFT) 70 #define MCG_S_PLLST_VAL ((MCG->S & MCG_S_PLLST_MASK) >> MCG_S_PLLST_SHIFT) 561 if ((MCG->C2 & MCG_C2_LP_MASK) || (MCG->S & MCG_S_PLLST_MASK)) in CLOCK_GetFllFreq() 610 if (!(MCG->S & MCG_S_LOCK0_MASK)) in CLOCK_GetPll0Freq() 636 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 826 while (!(MCG->S & MCG_S_LOCK0_MASK)) in CLOCK_EnablePll0() 876 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 904 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MKW24D5/ |
D | fsl_clock.c | 67 #define MCG_S_IRCST_VAL ((MCG->S & MCG_S_IRCST_MASK) >> MCG_S_IRCST_SHIFT) 68 #define MCG_S_CLKST_VAL ((MCG->S & MCG_S_CLKST_MASK) >> MCG_S_CLKST_SHIFT) 69 #define MCG_S_IREFST_VAL ((MCG->S & MCG_S_IREFST_MASK) >> MCG_S_IREFST_SHIFT) 70 #define MCG_S_PLLST_VAL ((MCG->S & MCG_S_PLLST_MASK) >> MCG_S_PLLST_SHIFT) 561 if ((MCG->C2 & MCG_C2_LP_MASK) || (MCG->S & MCG_S_PLLST_MASK)) in CLOCK_GetFllFreq() 610 if (!(MCG->S & MCG_S_LOCK0_MASK)) in CLOCK_GetPll0Freq() 636 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 826 while (!(MCG->S & MCG_S_LOCK0_MASK)) in CLOCK_EnablePll0() 876 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 904 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MKL25Z4/ |
D | fsl_clock.c | 67 #define MCG_S_IRCST_VAL ((MCG->S & MCG_S_IRCST_MASK) >> MCG_S_IRCST_SHIFT) 68 #define MCG_S_CLKST_VAL ((MCG->S & MCG_S_CLKST_MASK) >> MCG_S_CLKST_SHIFT) 69 #define MCG_S_IREFST_VAL ((MCG->S & MCG_S_IREFST_MASK) >> MCG_S_IREFST_SHIFT) 70 #define MCG_S_PLLST_VAL ((MCG->S & MCG_S_PLLST_MASK) >> MCG_S_PLLST_SHIFT) 537 if ((MCG->C2 & MCG_C2_LP_MASK) || (MCG->S & MCG_S_PLLST_MASK)) in CLOCK_GetFllFreq() 586 if (!(MCG->S & MCG_S_LOCK0_MASK)) in CLOCK_GetPll0Freq() 773 while (!(MCG->S & MCG_S_LOCK0_MASK)) in CLOCK_EnablePll0() 806 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 832 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() 861 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_ClearStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MKV58F24/ |
D | fsl_clock.c | 49 #define MCG_S_IRCST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IRCST_MASK) >> (uint32_t)MCG_S_IRCST_S… 50 #define MCG_S_CLKST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_CLKST_MASK) >> (uint32_t)MCG_S_CLKST_S… 51 #define MCG_S_IREFST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IREFST_MASK) >> (uint32_t)MCG_S_IREFS… 52 #define MCG_S_PLLST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_PLLST_MASK) >> (uint32_t)MCG_S_PLLST_S… 613 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq() 703 if (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_GetPll0Freq() 958 while (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_EnablePll0() 1005 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 1057 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() 1102 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_ClearStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MKV56F24/ |
D | fsl_clock.c | 49 #define MCG_S_IRCST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IRCST_MASK) >> (uint32_t)MCG_S_IRCST_S… 50 #define MCG_S_CLKST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_CLKST_MASK) >> (uint32_t)MCG_S_CLKST_S… 51 #define MCG_S_IREFST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IREFST_MASK) >> (uint32_t)MCG_S_IREFS… 52 #define MCG_S_PLLST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_PLLST_MASK) >> (uint32_t)MCG_S_PLLST_S… 613 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq() 703 if (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_GetPll0Freq() 958 while (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_EnablePll0() 1005 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 1057 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() 1102 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_ClearStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MK22F51212/ |
D | fsl_clock.c | 49 #define MCG_S_IRCST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IRCST_MASK) >> (uint32_t)MCG_S_IRCST_S… 50 #define MCG_S_CLKST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_CLKST_MASK) >> (uint32_t)MCG_S_CLKST_S… 51 #define MCG_S_IREFST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IREFST_MASK) >> (uint32_t)MCG_S_IREFS… 52 #define MCG_S_PLLST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_PLLST_MASK) >> (uint32_t)MCG_S_PLLST_S… 692 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq() 782 if (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_GetPll0Freq() 826 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 1063 while (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_EnablePll0() 1134 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 1188 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MK64F12/ |
D | fsl_clock.c | 49 #define MCG_S_IRCST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IRCST_MASK) >> (uint32_t)MCG_S_IRCST_S… 50 #define MCG_S_CLKST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_CLKST_MASK) >> (uint32_t)MCG_S_CLKST_S… 51 #define MCG_S_IREFST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IREFST_MASK) >> (uint32_t)MCG_S_IREFS… 52 #define MCG_S_PLLST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_PLLST_MASK) >> (uint32_t)MCG_S_PLLST_S… 659 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq() 749 if (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_GetPll0Freq() 793 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 1030 while (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_EnablePll0() 1101 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 1155 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MK80F25615/ |
D | fsl_clock.c | 49 #define MCG_S_IRCST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IRCST_MASK) >> (uint32_t)MCG_S_IRCST_S… 50 #define MCG_S_CLKST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_CLKST_MASK) >> (uint32_t)MCG_S_CLKST_S… 51 #define MCG_S_IREFST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IREFST_MASK) >> (uint32_t)MCG_S_IREFS… 52 #define MCG_S_PLLST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_PLLST_MASK) >> (uint32_t)MCG_S_PLLST_S… 698 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq() 788 if (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_GetPll0Freq() 833 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 1072 while (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_EnablePll0() 1143 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 1197 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MK82F25615/ |
D | fsl_clock.c | 49 #define MCG_S_IRCST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IRCST_MASK) >> (uint32_t)MCG_S_IRCST_S… 50 #define MCG_S_CLKST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_CLKST_MASK) >> (uint32_t)MCG_S_CLKST_S… 51 #define MCG_S_IREFST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IREFST_MASK) >> (uint32_t)MCG_S_IREFS… 52 #define MCG_S_PLLST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_PLLST_MASK) >> (uint32_t)MCG_S_PLLST_S… 698 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq() 788 if (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_GetPll0Freq() 833 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 1072 while (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_EnablePll0() 1143 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 1197 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MK66F18/ |
D | fsl_clock.c | 49 #define MCG_S_IRCST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IRCST_MASK) >> (uint32_t)MCG_S_IRCST_S… 50 #define MCG_S_CLKST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_CLKST_MASK) >> (uint32_t)MCG_S_CLKST_S… 51 #define MCG_S_IREFST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_IREFST_MASK) >> (uint32_t)MCG_S_IREFS… 52 #define MCG_S_PLLST_VAL (((uint32_t)MCG->S & (uint32_t)MCG_S_PLLST_MASK) >> (uint32_t)MCG_S_PLLST_S… 889 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq() 979 if (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_GetPll0Freq() 1051 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 1290 while (((MCG->S & MCG_S_LOCK0_MASK)) == 0U) in CLOCK_EnablePll0() 1377 MCG->S = MCG_S_LOLS0_MASK; in CLOCK_SetPll0MonitorMode() 1456 uint8_t mcg_s = MCG->S; in CLOCK_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MKW41Z4/ |
D | fsl_clock.c | 95 #define MCG_S_IRCST_VAL ((MCG->S & MCG_S_IRCST_MASK) >> MCG_S_IRCST_SHIFT) 96 #define MCG_S_CLKST_VAL ((MCG->S & MCG_S_CLKST_MASK) >> MCG_S_CLKST_SHIFT) 97 #define MCG_S_IREFST_VAL ((MCG->S & MCG_S_IREFST_MASK) >> MCG_S_IREFST_SHIFT) 98 #define MCG_S_PLLST_VAL ((MCG->S & MCG_S_PLLST_MASK) >> MCG_S_PLLST_SHIFT) 565 if ((MCG_C7_OSCSEL_VAL != oscsel) && (!(MCG->S & MCG_S_IREFST_MASK))) in CLOCK_SetExternalRefClkConfig() 720 while (!(MCG->S & MCG_S_OSCINIT0_MASK)) in CLOCK_InitOsc0() 759 if (MCG_S_IREFST(kMCG_FllSrcInternal) == (MCG->S & MCG_S_IREFST_MASK)) in CLOCK_TrimInternalRefClk() 995 while (!(MCG->S & MCG_S_OSCINIT0_MASK)) in CLOCK_SetFeeMode() 1143 while (!(MCG->S & MCG_S_OSCINIT0_MASK)) in CLOCK_SetFbeMode() 1211 if (MCG->S & MCG_S_IREFST_MASK) in CLOCK_ExternalModeToFbeModeQuick() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MKW30Z4/ |
D | system_MKW30Z4.c | 154 while((MCG->S & MCG_S_IREFST_MASK) == 0x00U) { in SystemInit() 157 while((MCG->S & MCG_S_IREFST_MASK) != 0x00U) { in SystemInit() 176 while((MCG->S & MCG_S_IREFST_MASK) == 0x00U) { in SystemInit() 179 while((MCG->S & MCG_S_IREFST_MASK) != 0x00U) { in SystemInit() 192 while((MCG->S & MCG_S_CLKST_MASK) != 0x00U) { /* Wait until output of the FLL is selected */ in SystemInit() 195 …while((MCG->S & MCG_S_CLKST_MASK) != 0x04U) { /* Wait until internal reference clock is selected a… in SystemInit() 198 …while((MCG->S & MCG_S_CLKST_MASK) != 0x08U) { /* Wait until external reference clock is selected a… in SystemInit()
|
/hal_nxp-2.7.6/mcux/devices/MKW20Z4/ |
D | system_MKW20Z4.c | 154 while((MCG->S & MCG_S_IREFST_MASK) == 0x00U) { in SystemInit() 157 while((MCG->S & MCG_S_IREFST_MASK) != 0x00U) { in SystemInit() 176 while((MCG->S & MCG_S_IREFST_MASK) == 0x00U) { in SystemInit() 179 while((MCG->S & MCG_S_IREFST_MASK) != 0x00U) { in SystemInit() 192 while((MCG->S & MCG_S_CLKST_MASK) != 0x00U) { /* Wait until output of the FLL is selected */ in SystemInit() 195 …while((MCG->S & MCG_S_CLKST_MASK) != 0x04U) { /* Wait until internal reference clock is selected a… in SystemInit() 198 …while((MCG->S & MCG_S_CLKST_MASK) != 0x08U) { /* Wait until external reference clock is selected a… in SystemInit()
|
/hal_nxp-2.7.6/mcux/devices/MKW40Z4/ |
D | system_MKW40Z4.c | 154 while((MCG->S & MCG_S_IREFST_MASK) == 0x00U) { in SystemInit() 157 while((MCG->S & MCG_S_IREFST_MASK) != 0x00U) { in SystemInit() 176 while((MCG->S & MCG_S_IREFST_MASK) == 0x00U) { in SystemInit() 179 while((MCG->S & MCG_S_IREFST_MASK) != 0x00U) { in SystemInit() 192 while((MCG->S & MCG_S_CLKST_MASK) != 0x00U) { /* Wait until output of the FLL is selected */ in SystemInit() 195 …while((MCG->S & MCG_S_CLKST_MASK) != 0x04U) { /* Wait until internal reference clock is selected a… in SystemInit() 198 …while((MCG->S & MCG_S_CLKST_MASK) != 0x08U) { /* Wait until external reference clock is selected a… in SystemInit()
|