/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | qspi.c | 50 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.5.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | qspi.c | 50 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.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/ |
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); /* 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()
|
D | i2s.c | 173 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()
|
D | spi.c | 52 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 …]
|
D | i2c.c | 39 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()
|
D | usci_i2c.c | 36 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.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/ |
D | spi.h | 547 …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);
|
D | usci_i2c.h | 277 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock); 284 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock);
|
D | usci_spi.h | 393 …*uspi, uint32_t u32MasterSlave, uint32_t u32SPIMode, uint32_t u32DataWidth, uint32_t u32BusClock); 399 uint32_t USPI_SetBusClock(USPI_T *uspi, uint32_t u32BusClock);
|
D | i2c.h | 480 uint32_t I2C_Open(I2C_T *i2c, uint32_t u32BusClock); 484 uint32_t I2C_SetBusClockFreq(I2C_T *i2c, uint32_t u32BusClock);
|
D | i2s.h | 339 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock);
|
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/ |
D | spi.h | 547 …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);
|
D | qspi.h | 372 …*qspi, uint32_t u32MasterSlave, uint32_t u32QSPIMode, uint32_t u32DataWidth, uint32_t u32BusClock); 378 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock);
|
D | usci_i2c.h | 277 uint32_t UI2C_Open(UI2C_T *ui2c, uint32_t u32BusClock); 284 uint32_t UI2C_SetBusClockFreq(UI2C_T *ui2c, uint32_t u32BusClock);
|
D | usci_spi.h | 393 …*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.5.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
D | qspi.h | 353 …*qspi, uint32_t u32MasterSlave, uint32_t u32QSPIMode, uint32_t u32DataWidth, uint32_t u32BusClock); 359 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock);
|