Searched refs:srcClock_Hz (Results 1 – 6 of 6) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_usart.c | 193 status_t USART_Init(USART_Type *base, const usart_config_t *config, uint32_t srcClock_Hz) in USART_Init() argument 198 assert(!((NULL == base) || (NULL == config) || (0U == srcClock_Hz))); in USART_Init() 199 if ((NULL == base) || (NULL == config) || (0U == srcClock_Hz)) in USART_Init() 253 result = USART_SetBaudRate(base, config->baudRate_Bps, srcClock_Hz); in USART_Init() 342 status_t USART_SetBaudRate(USART_Type *base, uint32_t baudrate_Bps, uint32_t srcClock_Hz) in USART_SetBaudRate() argument 348 assert(!((NULL == base) || (0U == baudrate_Bps) || (0U == srcClock_Hz))); in USART_SetBaudRate() 349 if ((NULL == base) || (0U == baudrate_Bps) || (0U == srcClock_Hz)) in USART_SetBaudRate() 359 brgval = srcClock_Hz / baudrate_Bps; in USART_SetBaudRate() 371 brgval = (((srcClock_Hz * 10U) / ((osrval + 1U) * baudrate_Bps)) - 5U) / 10U; in USART_SetBaudRate() 376 baudrate = srcClock_Hz / ((osrval + 1U) * (brgval + 1U)); in USART_SetBaudRate() [all …]
|
D | fsl_usart.h | 249 status_t USART_Init(USART_Type *base, const usart_config_t *config, uint32_t srcClock_Hz); 293 status_t USART_SetBaudRate(USART_Type *base, uint32_t baudrate_Bps, uint32_t srcClock_Hz); 312 …T_Enable32kMode(USART_Type *base, uint32_t baudRate_Bps, bool enableMode32k, uint32_t srcClock_Hz);
|
D | fsl_ctimer.c | 195 uint32_t srcClock_Hz, in CTIMER_SetupPwm() argument 202 uint32_t timerClock = srcClock_Hz / (base->PR + 1U); in CTIMER_SetupPwm()
|
D | fsl_ctimer.h | 273 uint32_t srcClock_Hz,
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/components/uart/ |
D | fsl_adapter_uart.h | 170 uint32_t srcClock_Hz; /*!< Source clock */ member
|
D | fsl_adapter_usart.c | 317 status = USART_Init(s_UsartAdapterBase[config->instance], &usartConfig, config->srcClock_Hz); in HAL_UartInitCommon()
|