Home
last modified time | relevance | path

Searched refs:srcClock_Hz (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/drivers/
Dfsl_usart.c193 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()
256 result = USART_SetBaudRate(base, config->baudRate_Bps, srcClock_Hz); in USART_Init()
362 uint32_t srcClock_Hz) in USART_CalcTimeoutConfig() argument
369 counter = target_us * (srcClock_Hz / 1000000UL) / (16U * (perscalar + 1U)); in USART_CalcTimeoutConfig()
370 calculate_us = 16U * (perscalar + 1U) * counter / (srcClock_Hz / 1000000UL); in USART_CalcTimeoutConfig()
425 status_t USART_SetBaudRate(USART_Type *base, uint32_t baudrate_Bps, uint32_t srcClock_Hz) in USART_SetBaudRate() argument
431 assert(!((NULL == base) || (0U == baudrate_Bps) || (0U == srcClock_Hz))); in USART_SetBaudRate()
432 if ((NULL == base) || (0U == baudrate_Bps) || (0U == srcClock_Hz)) in USART_SetBaudRate()
[all …]
Dfsl_usart.h318 status_t USART_Init(USART_Type *base, const usart_config_t *config, uint32_t srcClock_Hz);
342 uint32_t srcClock_Hz);
396 status_t USART_SetBaudRate(USART_Type *base, uint32_t baudrate_Bps, uint32_t srcClock_Hz);
415 …T_Enable32kMode(USART_Type *base, uint32_t baudRate_Bps, bool enableMode32k, uint32_t srcClock_Hz);
Dfsl_ctimer.c195 uint32_t srcClock_Hz, in CTIMER_SetupPwm() argument
202 uint32_t timerClock = srcClock_Hz / (base->PR + 1U); in CTIMER_SetupPwm()
Dfsl_ctimer.h273 uint32_t srcClock_Hz,
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/components/uart/
Dfsl_adapter_uart.h167 uint32_t srcClock_Hz; /*!< Source clock */ member
Dfsl_adapter_usart.c317 status = USART_Init(s_UsartAdapterBase[config->instance], &usartConfig, config->srcClock_Hz); in HAL_UartInitCommon()