Mercurial > public > ostc4
comparison Discovery/Inc/ostc_hw2.h @ 1037:2af07aa38531 GasConsumption
Merge with external development branches:
Some features have been prepared for integration: Profiles, DMA UART on Firmware part, Bluetooth discovery and messges logging for development phase. All these new function are deactivated by compile switch and may be activated using the configuration.h for testing purpose.
| author | Ideenmodellierer |
|---|---|
| date | Mon, 15 Sep 2025 21:12:44 +0200 |
| parents | 5865f0aeb438 |
| children |
comparison
equal
deleted
inserted
replaced
| 1029:e938901f6386 | 1037:2af07aa38531 |
|---|---|
| 165 #define USART_IR_HUD_RX_GPIO_PORT GPIOD | 165 #define USART_IR_HUD_RX_GPIO_PORT GPIOD |
| 166 #define USART_IR_HUD_RX_GPIO_CLK_ENABLE() __GPIOD_CLK_ENABLE() | 166 #define USART_IR_HUD_RX_GPIO_CLK_ENABLE() __GPIOD_CLK_ENABLE() |
| 167 #define USART_IR_HUD_IRQn USART2_IRQn | 167 #define USART_IR_HUD_IRQn USART2_IRQn |
| 168 // to it directly#define USART_IR_HUD_IRQHandler USART2_IRQHandler | 168 // to it directly#define USART_IR_HUD_IRQHandler USART2_IRQHandler |
| 169 | 169 |
| 170 #define USART_RADIO USART3 | |
| 171 #define USART_RADIO_CLK_ENABLE() __USART3_CLK_ENABLE(); | |
| 172 #define USART_RADIO_FORCE_RESET() __USART3_FORCE_RESET() | |
| 173 #define USART_RADIO_RELEASE_RESET() __USART3_RELEASE_RESET() | |
| 174 //#define USART_IR_HUD_TX_AF GPIO_AF7_USART3 | |
| 175 //#define USART_IR_HUD_TX_PIN GPIO_PIN_5 | |
| 176 //#define USART_IR_HUD_TX_GPIO_PORT GPIOD | |
| 177 //#define USART_IR_HUD_TX_GPIO_CLK_ENABLE() __GPIOD_CLK_ENABLE() | |
| 178 | |
| 179 #define USART_RADIO_RX_AF GPIO_AF7_USART3 | |
| 180 #define USART_RADIO_RX_PIN GPIO_PIN_11 | |
| 181 #define USART_RADIO_RX_GPIO_PORT GPIOB | |
| 182 #define USART_RADIO_RX_GPIO_CLK_ENABLE() __GPIOB_CLK_ENABLE() | |
| 183 #define USART_RADIO_IRQn USART3_IRQn | |
| 184 | |
| 185 | |
| 170 #define TIMx TIM4 | 186 #define TIMx TIM4 |
| 171 #define TIMx_CLK_ENABLE __TIM4_CLK_ENABLE | 187 #define TIMx_CLK_ENABLE __TIM4_CLK_ENABLE |
| 172 #define TIMx_IRQn TIM4_IRQn | 188 #define TIMx_IRQn TIM4_IRQn |
| 173 // to it directly #define TIMx_IRQHandler TIM4_IRQHandler | 189 // to it directly #define TIMx_IRQHandler TIM4_IRQHandler |
| 174 | 190 |
