| /hal_nxp-latest/mcux/mcux-sdk/drivers/lpsci/ |
| D | fsl_lpsci.c | 221 uint32_t osr = 0; in LPSCI_Init() local 256 osr = osrTemp; /* update and store the best OSR value calculated*/ in LPSCI_Init() 280 if ((osr > 3) && (osr < 8)) in LPSCI_Init() 286 base->C4 = ((base->C4 & ~UART0_C4_OSR_MASK) | (osr - 1)); in LPSCI_Init() 355 uint32_t osr = 0, sbr = 0; in LPSCI_SetBaudRate() local 389 osr = osrTemp; /* update and store the best OSR value calculated*/ in LPSCI_SetBaudRate() 407 if ((osr > 3) && (osr < 8)) in LPSCI_SetBaudRate() 413 base->C4 = ((base->C4 & ~UART0_C4_OSR_MASK) | (osr - 1)); in LPSCI_SetBaudRate()
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/pdm/ |
| D | fsl_pdm.c | 34 uint8_t osr, 143 uint8_t osr, in PDM_ValidateSrcClockRate() argument 195 … if (((regDiv * k) / 2U * 100U) < (((10U + factor * enabledChannel) * 100U / (8U * osr)) * k / 2U)) in PDM_ValidateSrcClockRate() 219 uint32_t osr = (base->CTRL_2 & PDM_CTRL_2_CICOSR_MASK) >> PDM_CTRL_2_CICOSR_SHIFT; in PDM_SetSampleRateConfig() local 230 osr = (PDM_CTRL_2_CICOSR_MASK >> PDM_CTRL_2_CICOSR_SHIFT) + 1U - osr; in PDM_SetSampleRateConfig() 231 pdmClockRate = sampleRate_HZ * osr * 8U; in PDM_SetSampleRateConfig() 240 …if (PDM_ValidateSrcClockRate(enabledChannelMask, qualityMode, (uint8_t)osr, regDiv) == kStatus_Fai… in PDM_SetSampleRateConfig() 262 …PDM_Type *base, uint32_t enableChannelMask, pdm_df_quality_mode_t qualityMode, uint8_t osr, uint32… in PDM_SetSampleRate() argument 266 (osr & (PDM_CTRL_2_CICOSR_MASK >> PDM_CTRL_2_CICOSR_SHIFT)); in PDM_SetSampleRate()
|
| D | fsl_pdm.h | 589 …PDM_Type *base, uint32_t enableChannelMask, pdm_df_quality_mode_t qualityMode, uint8_t osr, uint32…
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/lpflexcomm/lpuart/ |
| D | fsl_lpuart.c | 285 uint8_t osr, osrTemp; in LPUART_Init() local 295 osr = 0U; in LPUART_Init() 322 osr = osrTemp; /* update and store the best OSR value calculated */ in LPUART_Init() 357 if ((osr > 3U) && (osr < 8U)) in LPUART_Init() 364 temp |= LPUART_BAUD_OSR((uint32_t)osr - 1UL); in LPUART_Init() 623 uint8_t osr, osrTemp; in LPUART_SetBaudRate() local 633 osr = 0U; in LPUART_SetBaudRate() 661 osr = osrTemp; /* update and store the best OSR value calculated */ in LPUART_SetBaudRate() 680 if ((osr > 3U) && (osr < 8U)) in LPUART_SetBaudRate() 687 temp |= LPUART_BAUD_OSR((uint32_t)osr - 1UL); in LPUART_SetBaudRate()
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/lpuart/ |
| D | fsl_lpuart.c | 371 uint8_t osr, osrTemp; in LPUART_Init() local 381 osr = 0U; in LPUART_Init() 408 osr = osrTemp; /* update and store the best OSR value calculated */ in LPUART_Init() 454 if ((osr > 3U) && (osr < 8U)) in LPUART_Init() 461 temp |= LPUART_BAUD_OSR((uint32_t)osr - 1UL); in LPUART_Init() 703 uint8_t osr, osrTemp; in LPUART_SetBaudRate() local 713 osr = 0U; in LPUART_SetBaudRate() 740 osr = osrTemp; /* update and store the best OSR value calculated */ in LPUART_SetBaudRate() 763 if ((osr > 3U) && (osr < 8U)) in LPUART_SetBaudRate() 770 temp |= LPUART_BAUD_OSR((uint32_t)osr - 1UL); in LPUART_SetBaudRate()
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/lin/ |
| D | lin_driver.c | 54 uint32_t instance, uint32_t baudRate_Bps, uint32_t srcClock_Hz, uint32_t *osr, uint16_t *sbr) in LIN_DRV_CalculateBaudrate() argument 60 (void)LIN_LPUART_CalculateBaudRate(base, baudRate_Bps, srcClock_Hz, osr, sbr); in LIN_DRV_CalculateBaudrate() 72 void LIN_DRV_SetBaudrate(uint32_t instance, uint32_t osr, uint16_t sbr) in LIN_DRV_SetBaudrate() argument 78 LIN_LPUART_SetBaudRate(base, &osr, &sbr); in LIN_DRV_SetBaudrate()
|
| D | fsl_lin.c | 133 …drate(uint32_t instance, uint32_t baudRate_Bps, uint32_t srcClock_Hz, uint32_t *osr, uint16_t *sbr) in LIN_CalculateBaudrate() argument 139 (void)LIN_LPUART_CalculateBaudRate(base, baudRate_Bps, srcClock_Hz, osr, sbr); in LIN_CalculateBaudrate() 151 void LIN_SetBaudrate(uint32_t instance, uint32_t osr, uint16_t sbr) in LIN_SetBaudrate() argument 157 LIN_LPUART_SetBaudRate(base, &osr, &sbr); in LIN_SetBaudrate()
|
| D | fsl_lin_lpuart.c | 148 LPUART_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz, uint32_t *osr, uint16_t *sbr) in LIN_LPUART_CalculateBaudRate() argument 187 *osr = osrTemp; /* update and store the best OSR value calculated */ in LIN_LPUART_CalculateBaudRate() 199 void LIN_LPUART_SetBaudRate(LPUART_Type *base, uint32_t *osr, uint16_t *sbr) in LIN_LPUART_SetBaudRate() argument 212 if ((*osr > 3U) && (*osr < 8U)) in LIN_LPUART_SetBaudRate() 219 temp |= LPUART_BAUD_OSR(*osr - 1U); in LIN_LPUART_SetBaudRate()
|
| D | lin_driver.h | 223 uint32_t instance, uint32_t baudRate_Bps, uint32_t srcClock_Hz, uint32_t *osr, uint16_t *sbr); 232 void LIN_DRV_SetBaudrate(uint32_t instance, uint32_t osr, uint16_t sbr);
|
| D | fsl_lin_lpuart.h | 212 LPUART_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz, uint32_t *osr, uint16_t *sbr); 221 void LIN_LPUART_SetBaudRate(LPUART_Type *base, uint32_t *osr, uint16_t *sbr);
|
| D | fsl_lin.h | 450 uint32_t instance, uint32_t baudRate_Bps, uint32_t srcClock_Hz, uint32_t *osr, uint16_t *sbr); 459 void LIN_SetBaudrate(uint32_t instance, uint32_t osr, uint16_t sbr);
|
| /hal_nxp-latest/mcux/middleware/wireless/framework_5.3.3/XCVR/MKW40Z4/ |
| D | KW4xXcvrDrv.c | 484 uint8_t osr; in XcvrInit_ModeChg_Common() local 621 osr = RX_DEC_FILT_OSR_BLE_def_c; /* OSR 4 */ in XcvrInit_ModeChg_Common() 655 osr = RX_DEC_FILT_OSR_Zigbee_def_c; /* OSR 8 */ in XcvrInit_ModeChg_Common() 711 (osr << XCVR_RX_DIG_CTRL_RX_DEC_FILT_OSR_SHIFT) | in XcvrInit_ModeChg_Common()
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/dmic/ |
| D | fsl_dmic.c | 175 base->CHANNEL[channel].OSR = channel_config->osr; in DMIC_ConfigChannel()
|
| D | fsl_dmic.h | 160 uint32_t osr; /*!< oversampling rate(CIC decimation rate) for PCM */ member
|