Searched refs:osr (Results 1 – 8 of 8) sorted by relevance
/hal_nxp-3.6.0/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 = 16U - 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 265 uint8_t realOsr = 16U - (osr & (PDM_CTRL_2_CICOSR_MASK >> PDM_CTRL_2_CICOSR_SHIFT)); in PDM_SetSampleRate()
|
D | fsl_pdm.h | 585 …PDM_Type *base, uint32_t enableChannelMask, pdm_df_quality_mode_t qualityMode, uint8_t osr, uint32…
|
/hal_nxp-3.6.0/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-3.6.0/mcux/mcux-sdk/drivers/lpuart/ |
D | fsl_lpuart.c | 312 uint8_t osr, osrTemp; in LPUART_Init() local 322 osr = 0U; in LPUART_Init() 349 osr = osrTemp; /* update and store the best OSR value calculated */ in LPUART_Init() 391 if ((osr > 3U) && (osr < 8U)) in LPUART_Init() 398 temp |= LPUART_BAUD_OSR((uint32_t)osr - 1UL); in LPUART_Init() 640 uint8_t osr, osrTemp; in LPUART_SetBaudRate() local 650 osr = 0U; in LPUART_SetBaudRate() 677 osr = osrTemp; /* update and store the best OSR value calculated */ in LPUART_SetBaudRate() 700 if ((osr > 3U) && (osr < 8U)) in LPUART_SetBaudRate() 707 temp |= LPUART_BAUD_OSR((uint32_t)osr - 1UL); in LPUART_SetBaudRate()
|
/hal_nxp-3.6.0/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-3.6.0/mcux/mcux-sdk/drivers/dmic/ |
D | fsl_dmic.c | 172 base->CHANNEL[channel].OSR = channel_config->osr; in DMIC_ConfigChannel()
|
D | fsl_dmic.h | 156 uint32_t osr; /*!< oversampling rate(CIC decimation rate) for PCM */ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/sensors/ |
D | diff_p.h | 664 …uint8_t osr : 5; /* Interrupt Mask for P_TGT1 interrupt. … member
|