Searched refs:u32BusClock (Results 1 – 12 of 12) sorted by relevance
/hal_nuvoton-3.4.0/m48x/StdDriver/src/ |
D | qspi.c | 47 uint32_t u32BusClock) in QSPI_Open() argument 67 if(u32BusClock >= u32HCLKFreq) in QSPI_Open() 118 if(u32BusClock >= u32HCLKFreq) in QSPI_Open() 125 else if(u32BusClock >= u32ClkSrc) in QSPI_Open() 132 else if(u32BusClock == 0U) in QSPI_Open() 141 … u32Div = (((u32ClkSrc * 10U) / u32BusClock + 5U) / 10U) - 1U; /* Round to the nearest integer */ in QSPI_Open() 267 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock) in QSPI_SetBusClock() argument 275 if(u32BusClock >= u32HCLKFreq) in QSPI_SetBusClock() 326 if(u32BusClock >= u32HCLKFreq) in QSPI_SetBusClock() 333 else if(u32BusClock >= u32ClkSrc) in QSPI_SetBusClock() [all …]
|
D | spi.c | 48 uint32_t u32BusClock) in SPI_Open() argument 71 if(u32BusClock >= u32HCLKFreq) in SPI_Open() 173 if(u32BusClock >= u32HCLKFreq) in SPI_Open() 180 else if(u32BusClock >= u32ClkSrc) in SPI_Open() 187 else if(u32BusClock == 0U) in SPI_Open() 196 … u32Div = (((u32ClkSrc * 10U) / u32BusClock + 5U) / 10U) - 1U; /* Round to the nearest integer */ in SPI_Open() 347 uint32_t SPI_SetBusClock(SPI_T *spi, uint32_t u32BusClock) in SPI_SetBusClock() argument 355 if(u32BusClock >= u32HCLKFreq) in SPI_SetBusClock() 450 if(u32BusClock >= u32HCLKFreq) in SPI_SetBusClock() 457 else if(u32BusClock >= u32ClkSrc) in SPI_SetBusClock() [all …]
|
D | usci_spi.c | 43 … *uspi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock) in USPI_Open() argument 58 if(u32BusClock != 0ul) in USPI_Open() 60 …u32ClkDiv = (uint32_t) ((((((u32Pclk/2ul)*10ul)/(u32BusClock))+5ul)/10ul)-1ul); /* Compute proper … in USPI_Open() 99 if(u32BusClock != 0ul) in USPI_Open() 169 uint32_t USPI_SetBusClock(USPI_T *uspi, uint32_t u32BusClock) in USPI_SetBusClock() argument 183 …u32ClkDiv = (uint32_t) ((((((u32Pclk/2ul)*10ul)/(u32BusClock))+5ul)/10ul)-1ul); /* Compute proper … in USPI_SetBusClock()
|
D | i2s.c | 158 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock) in I2S_EnableMCLK() argument 164 if (u32BusClock == u32SrcClk) in I2S_EnableMCLK() 170 u8Divider = (uint8_t)(u32SrcClk/u32BusClock) >> 1U; in I2S_EnableMCLK()
|
D | i2c.c | 37 uint32_t I2C_Open(I2C_T *i2c, uint32_t u32BusClock) in I2C_Open() argument 51 …u32Div = (uint32_t)(((u32Pclk * 10U) / (u32BusClock * 4U) + 5U) / 10U - 1U); /* Compute proper div… in I2C_Open() 211 uint32_t I2C_SetBusClockFreq(I2C_T *i2c, uint32_t u32BusClock) in I2C_SetBusClockFreq() argument 225 …u32Div = (uint32_t)(((u32Pclk * 10U) / (u32BusClock * 4U) + 5U) / 10U - 1U); /* Compute proper div… in I2C_SetBusClockFreq()
|
D | usci_i2c.c | 34 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock) in UI2C_Open() argument 48 …u32ClkDiv = (uint32_t) ((((((u32Pclk/2U)*10U)/(u32BusClock))+5U)/10U)-1U); /* Compute proper divid… in UI2C_Open() 301 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock) in UI2C_SetBusClockFreq() argument 315 …u32ClkDiv = (uint32_t) ((((((u32Pclk/2U)*10U)/(u32BusClock))+5U)/10U)-1U); /* Compute proper divid… in UI2C_SetBusClockFreq()
|
/hal_nuvoton-3.4.0/m48x/StdDriver/inc/ |
D | spi.h | 559 …T *spi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock); 565 uint32_t SPI_SetBusClock(SPI_T *spi, uint32_t u32BusClock); 578 uint32_t SPII2S_EnableMCLK(SPI_T *i2s, uint32_t u32BusClock);
|
D | usci_spi.h | 382 …*uspi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock); 388 uint32_t USPI_SetBusClock(USPI_T *uspi, uint32_t u32BusClock);
|
D | qspi.h | 329 …*qspi, uint32_t u32MasterSlave, uint32_t u32QSPIMode, uint32_t u32DataWidth, uint32_t u32BusClock); 335 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock);
|
D | usci_i2c.h | 289 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock); 296 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock);
|
D | i2c.h | 457 uint32_t I2C_Open(I2C_T *i2c, uint32_t u32BusClock); 461 uint32_t I2C_SetBusClockFreq(I2C_T *i2c, uint32_t u32BusClock);
|
D | i2s.h | 334 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock);
|