Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dqspi.c50 uint32_t u32BusClock) in QSPI_Open() argument
72 if(u32BusClock >= u32HCLKFreq) in QSPI_Open()
105 if(u32BusClock >= u32HCLKFreq) in QSPI_Open()
112 else if(u32BusClock >= u32ClkSrc) in QSPI_Open()
119 else if(u32BusClock == 0UL) in QSPI_Open()
128 …u32Div = (((u32ClkSrc * 10UL) / u32BusClock + 5UL) / 10UL) - 1UL; /* Round to the nearest integer … in QSPI_Open()
266 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock) in QSPI_SetBusClock() argument
280 if(u32BusClock >= u32HCLKFreq) in QSPI_SetBusClock()
307 if(u32BusClock >= u32HCLKFreq) in QSPI_SetBusClock()
314 else if(u32BusClock >= u32ClkSrc) in QSPI_SetBusClock()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dqspi.c50 uint32_t u32BusClock) in QSPI_Open() argument
72 if(u32BusClock >= u32HCLKFreq) in QSPI_Open()
105 if(u32BusClock >= u32HCLKFreq) in QSPI_Open()
112 else if(u32BusClock >= u32ClkSrc) in QSPI_Open()
119 else if(u32BusClock == 0UL) in QSPI_Open()
128 …u32Div = (((u32ClkSrc * 10UL) / u32BusClock + 5UL) / 10UL) - 1UL; /* Round to the nearest integer … in QSPI_Open()
266 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock) in QSPI_SetBusClock() argument
280 if(u32BusClock >= u32HCLKFreq) in QSPI_SetBusClock()
307 if(u32BusClock >= u32HCLKFreq) in QSPI_SetBusClock()
314 else if(u32BusClock >= u32ClkSrc) in QSPI_SetBusClock()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
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); /* Comp… in USPI_Open()
97 if(u32BusClock != 0UL) in USPI_Open()
171 uint32_t USPI_SetBusClock(USPI_T *uspi, uint32_t u32BusClock) in USPI_SetBusClock() argument
185 …u32ClkDiv = (uint32_t)((((((u32Pclk / 2UL) * 10UL) / (u32BusClock)) + 5UL) / 10UL) - 1UL); /* Comp… in USPI_SetBusClock()
Di2s.c173 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock) in I2S_EnableMCLK() argument
179 if(u32BusClock == u32SrcClk) in I2S_EnableMCLK()
185 u8Divider = (uint8_t)(u32SrcClk / u32BusClock) >> 1UL; in I2S_EnableMCLK()
Dspi.c52 uint32_t u32BusClock) in SPI_Open() argument
79 if(u32BusClock >= u32HCLKFreq) in SPI_Open()
181 if(u32BusClock >= u32HCLKFreq) in SPI_Open()
188 else if(u32BusClock >= u32ClkSrc) in SPI_Open()
195 else if(u32BusClock == 0UL) in SPI_Open()
204 …u32Div = (((u32ClkSrc * 10UL) / u32BusClock + 5UL) / 10UL) - 1UL; /* Round to the nearest integer … in SPI_Open()
417 uint32_t SPI_SetBusClock(SPI_T *spi, uint32_t u32BusClock) in SPI_SetBusClock() argument
425 if(u32BusClock >= u32HCLKFreq) in SPI_SetBusClock()
527 if(u32BusClock >= u32HCLKFreq) in SPI_SetBusClock()
534 else if(u32BusClock >= u32ClkSrc) in SPI_SetBusClock()
[all …]
Di2c.c39 uint32_t I2C_Open(I2C_T *i2c, uint32_t u32BusClock) in I2C_Open() argument
53 …u32Div = (uint32_t)(((u32Pclk * 10u) / (u32BusClock * 4u) + 5u) / 10u - 1u); /* Compute proper div… in I2C_Open()
198 uint32_t I2C_SetBusClockFreq(I2C_T *i2c, uint32_t u32BusClock) in I2C_SetBusClockFreq() argument
212 …u32Div = (uint32_t)(((u32Pclk * 10u) / (u32BusClock * 4u) + 5u) / 10u - 1u); /* Compute proper div… in I2C_SetBusClockFreq()
Dusci_i2c.c36 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock) in UI2C_Open() argument
50 …u32ClkDiv = (uint32_t)((((((u32Pclk / 2u) * 10u) / (u32BusClock)) + 5u) / 10u) - 1u); /* Compute p… in UI2C_Open()
290 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock) in UI2C_SetBusClockFreq() argument
303 …u32ClkDiv = (uint32_t)((((((u32Pclk / 2u) * 10u) / (u32BusClock)) + 5u) / 10u) - 1u); /* Compute p… in UI2C_SetBusClockFreq()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Dspi.h547 …T *spi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
553 uint32_t SPI_SetBusClock(SPI_T *spi, uint32_t u32BusClock);
567 uint32_t SPII2S_EnableMCLK(SPI_T *i2s, uint32_t u32BusClock);
Dusci_i2c.h277 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock);
284 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock);
Dusci_spi.h393 …*uspi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
399 uint32_t USPI_SetBusClock(USPI_T *uspi, uint32_t u32BusClock);
Di2c.h480 uint32_t I2C_Open(I2C_T *i2c, uint32_t u32BusClock);
484 uint32_t I2C_SetBusClockFreq(I2C_T *i2c, uint32_t u32BusClock);
Di2s.h339 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dspi.h547 …T *spi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
553 uint32_t SPI_SetBusClock(SPI_T *spi, uint32_t u32BusClock);
567 uint32_t SPII2S_EnableMCLK(SPI_T *i2s, uint32_t u32BusClock);
Dqspi.h372 …*qspi, uint32_t u32MasterSlave, uint32_t u32QSPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
378 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock);
Dusci_i2c.h277 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock);
284 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock);
Dusci_spi.h393 …*uspi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
399 uint32_t USPI_SetBusClock(USPI_T *uspi, uint32_t u32BusClock);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dqspi.h353 …*qspi, uint32_t u32MasterSlave, uint32_t u32QSPIMode, uint32_t u32DataWidth, uint32_t u32BusClock);
359 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock);