Home
last modified time | relevance | path

Searched refs:u32BusClock (Results 1 – 12 of 12) sorted by relevance

/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Dqspi.c47 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 …]
Dspi.c48 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 …]
Dusci_spi.c43 … *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()
Di2s.c158 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()
Di2c.c37 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()
Dusci_i2c.c34 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/
Dspi.h559 …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);
Dusci_spi.h382 …*uspi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
388 uint32_t USPI_SetBusClock(USPI_T *uspi, uint32_t u32BusClock);
Dqspi.h329 …*qspi, uint32_t u32MasterSlave, uint32_t u32QSPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
335 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock);
Dusci_i2c.h289 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock);
296 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock);
Di2c.h457 uint32_t I2C_Open(I2C_T *i2c, uint32_t u32BusClock);
461 uint32_t I2C_SetBusClockFreq(I2C_T *i2c, uint32_t u32BusClock);
Di2s.h334 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock);