Home
last modified time | relevance | path

Searched refs:__CLOCKPRESCALER__ (Results 1 – 25 of 35) sorted by relevance

12

/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_hal_usart.h683 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
684 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
685 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
686 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
687 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
688 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
689 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
690 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
691 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
692 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32wbxx_hal_uart.h1216 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1217 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1218 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1219 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1220 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1221 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1222 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1223 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1224 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1225 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_hal_usart.h696 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
697 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
698 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
699 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
700 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
701 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
702 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
703 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
704 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
705 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32g0xx_hal_uart.h1214 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1215 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1216 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1217 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1218 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1219 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1220 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1221 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1222 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1223 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32g0xx_hal_irda.h737 #define IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) (((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV1) |… argument
738 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV2) || \
739 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV4) || \
740 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV6) || \
741 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV8) || \
742 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV10) || \
743 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV12) || \
744 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV16) || \
745 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV32) || \
746 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV64) || \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal_usart.h706 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
707 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
708 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
709 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
710 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
711 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
712 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
713 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
714 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
715 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32l5xx_hal_uart.h1181 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1182 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1183 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1184 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1185 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1186 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1187 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1188 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1189 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1190 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32l5xx_hal_irda.h738 #define IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) (((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV1) |… argument
739 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV2) || \
740 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV4) || \
741 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV6) || \
742 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV8) || \
743 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV10) || \
744 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV12) || \
745 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV16) || \
746 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV32) || \
747 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV64) || \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_hal_usart.h697 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
698 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
699 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
700 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
701 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
702 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
703 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
704 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
705 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
706 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32g4xx_hal_uart.h1219 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1220 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1221 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1222 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1223 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1224 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1225 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1226 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1227 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1228 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32g4xx_hal_irda.h738 #define IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) (((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV1) |… argument
739 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV2) || \
740 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV4) || \
741 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV6) || \
742 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV8) || \
743 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV10) || \
744 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV12) || \
745 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV16) || \
746 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV32) || \
747 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV64) || \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32mp1xx/drivers/include/
Dstm32mp1xx_hal_usart.h706 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
707 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
708 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
709 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
710 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
711 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
712 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
713 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
714 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
715 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32mp1xx_hal_uart.h1159 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1160 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1161 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1162 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1163 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1164 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1165 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1166 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1167 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1168 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_hal_usart.h688 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
689 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
690 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
691 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
692 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
693 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
694 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
695 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
696 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
697 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32wlxx_hal_uart.h1214 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1215 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1216 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1217 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1218 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1219 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1220 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1221 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1222 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1223 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32wlxx_hal_irda.h726 #define IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) (((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV1) |… argument
727 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV2) || \
728 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV4) || \
729 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV6) || \
730 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV8) || \
731 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV10) || \
732 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV12) || \
733 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV16) || \
734 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV32) || \
735 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV64) || \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_hal_usart.h730 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
731 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
732 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
733 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
734 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
735 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
736 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
737 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
738 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
739 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32l4xx_hal_uart.h1244 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1245 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1246 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1247 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1248 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1249 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1250 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1251 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1252 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1253 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32l4xx_hal_irda.h739 #define IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) (((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV1) |… argument
740 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV2) || \
741 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV4) || \
742 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV6) || \
743 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV8) || \
744 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV10) || \
745 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV12) || \
746 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV16) || \
747 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV32) || \
748 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV64) || \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_hal_usart.h696 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
697 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
698 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
699 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
700 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
701 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
702 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
703 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
704 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
705 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32u5xx_hal_uart.h1189 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1190 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1191 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1192 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1193 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1194 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1195 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1196 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1197 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1198 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32u5xx_hal_irda.h737 #define IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) (((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV1) |… argument
738 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV2) || \
739 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV4) || \
740 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV6) || \
741 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV8) || \
742 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV10) || \
743 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV12) || \
744 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV16) || \
745 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV32) || \
746 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV64) || \
[all …]
/hal_stm32-2.7.6/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_usart.h699 #define USART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
700 (((__CLOCKPRESCALER__) == USART_PRESCALER_DIV1) ? 1U : \
701 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV2) ? 2U : \
702 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV4) ? 4U : \
703 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV6) ? 6U : \
704 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV8) ? 8U : \
705 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV10) ? 10U : \
706 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV12) ? 12U : \
707 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV16) ? 16U : \
708 ((__CLOCKPRESCALER__) == USART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32h7xx_hal_uart.h1218 #define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__) \ argument
1219 (((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
1220 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
1221 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
1222 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
1223 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
1224 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
1225 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
1226 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
1227 ((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
[all …]
Dstm32h7xx_hal_irda.h740 #define IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) (((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV1) |… argument
741 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV2) || \
742 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV4) || \
743 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV6) || \
744 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV8) || \
745 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV10) || \
746 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV12) || \
747 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV16) || \
748 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV32) || \
749 … ((__CLOCKPRESCALER__) == IRDA_PRESCALER_DIV64) || \
[all …]

12