![]() |
RTEMS 6.3
|
Macros | |
| #define | __LL_SWPMI_CALC_BITRATE_PRESCALER(__FSWP__, __FSWPCLK__) |
| Helper macro to calculate bit rate value to set in BRR register (LL_SWPMI_SetBitRatePrescaler function). | |
| #define __LL_SWPMI_CALC_BITRATE_PRESCALER | ( | __FSWP__, | |
| __FSWPCLK__ ) |
Helper macro to calculate bit rate value to set in BRR register (LL_SWPMI_SetBitRatePrescaler function).
| __FSWP__ | Within the following range: from 100 Kbit/s up to 2Mbit/s (in bit/s) |
| __FSWPCLK__ | PCLK or HSI frequency (in Hz) |
| Bitrate | prescaler (BRR register) |