Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 3 of 3) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhpl_usart_sync.h123 …art_sync_calculate_baud_rate(const uint32_t baud, const uint32_t clock_rate, const uint8_t samples,
Dhpl_usart_async.h147 …rt_async_calculate_baud_rate(const uint32_t baud, const uint32_t clock_rate, const uint8_t samples,
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c177 …t _usart_calculate_baud_rate(const uint32_t baud, const uint32_t clock_rate, const uint8_t samples,
240 …art_sync_calculate_baud_rate(const uint32_t baud, const uint32_t clock_rate, const uint8_t samples, in _usart_sync_calculate_baud_rate() argument
243 return _usart_calculate_baud_rate(baud, clock_rate, samples, mode, fraction); in _usart_sync_calculate_baud_rate()
249 …rt_async_calculate_baud_rate(const uint32_t baud, const uint32_t clock_rate, const uint8_t samples, in _usart_async_calculate_baud_rate() argument
252 return _usart_calculate_baud_rate(baud, clock_rate, samples, mode, fraction); in _usart_async_calculate_baud_rate()
646 …t _usart_calculate_baud_rate(const uint32_t baud, const uint32_t clock_rate, const uint8_t samples, in _usart_calculate_baud_rate() argument
650 return 65536 - ((uint64_t)65536 * samples * baud) / clock_rate; in _usart_calculate_baud_rate()
654 return clock_rate / baud / samples + SERCOM_USART_BAUD_FRACFP_FP(fraction); in _usart_calculate_baud_rate()