Searched refs:scaler (Results 1 – 4 of 4) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/ |
D | fsl_dspi.c | 435 uint32_t scaler, bestScaler; in DSPI_MasterSetBaudRate() local 451 for (scaler = 0U; scaler < 16U; scaler++) in DSPI_MasterSetBaudRate() 455 …alBaudrate = ((srcClock_Hz * dbr) / (s_baudratePrescaler[prescaler] * (s_baudrateScaler[scaler]))); in DSPI_MasterSetBaudRate() 468 bestScaler = scaler; in DSPI_MasterSetBaudRate() 519 …SPI_Type *base, dspi_ctar_selection_t whichCtar, uint32_t prescaler, uint32_t scaler, dspi_delay_t… in DSPI_MasterSetDelayScaler() argument 528 SPI_CTAR_PCSSCK(prescaler) | SPI_CTAR_CSSCK(scaler); in DSPI_MasterSetDelayScaler() 532 SPI_CTAR_PASC(prescaler) | SPI_CTAR_ASC(scaler); in DSPI_MasterSetDelayScaler() 536 SPI_CTAR_PDT(prescaler) | SPI_CTAR_DT(scaler); in DSPI_MasterSetDelayScaler() 584 uint32_t scaler, bestScaler; in DSPI_MasterSetDelayTimes() local 614 for (scaler = 0; scaler < 16U; scaler++) in DSPI_MasterSetDelayTimes() [all …]
|
D | fsl_dspi.h | 824 …SPI_Type *base, dspi_ctar_selection_t whichCtar, uint32_t prescaler, uint32_t scaler, dspi_delay_t…
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpspi/ |
D | fsl_lpspi.c | 539 uint32_t scaler, bestScaler; in LPSPI_MasterSetBaudRate() local 565 for (scaler = 0U; scaler < 256U; scaler++) in LPSPI_MasterSetBaudRate() 571 realBaudrate = (srcClock_Hz / (s_baudratePrescaler[prescaler] * (scaler + 2U))); in LPSPI_MasterSetBaudRate() 584 bestScaler = scaler; in LPSPI_MasterSetBaudRate() 635 void LPSPI_MasterSetDelayScaler(LPSPI_Type *base, uint32_t scaler, lpspi_delay_type_t whichDelay) argument 648 …base->CCR = (base->CCR & (~LPSPI_CCR_PCSSCK_MASK)) | LPSPI_CCR_PCSSCK(scaler) | LPSPI_CCR_DBT(dbt)… 653 …base->CCR = (base->CCR & (~LPSPI_CCR_SCKPCS_MASK)) | LPSPI_CCR_SCKPCS(scaler) | LPSPI_CCR_DBT(dbt)… 658 base->CCR = base->CCR | LPSPI_CCR_DBT(scaler) | LPSPI_CCR_SCKDIV(sckdiv); 663 base->CCR = (base->CCR & (~LPSPI_CCR_PCSSCK_MASK)) | LPSPI_CCR_PCSSCK(scaler); 667 base->CCR = (base->CCR & (~LPSPI_CCR_SCKPCS_MASK)) | LPSPI_CCR_SCKPCS(scaler); [all …]
|
D | fsl_lpspi.h | 949 void LPSPI_MasterSetDelayScaler(LPSPI_Type *base, uint32_t scaler, lpspi_delay_type_t whichDelay);
|