|
Open Model Railroad Network (OpenMRN)
|
This struct helps casting the UART base addresses to the appropriate type. More...
#include <Stm32Railcom.hxx>
Public Attributes | ||
| union { | ||
| uint32_t baseAddress | ||
| Initialized by the constants from the processor header like USART1_BASE. More... | ||
| USART_TypeDef * Instance | ||
| Use this to access the registers. More... | ||
| }; | ||
This struct helps casting the UART base addresses to the appropriate type.
It can be allocated in read-only memory (flash) as a static array. It can be passed to the STM32 HAL macros as well.
Definition at line 65 of file Stm32Railcom.hxx.
| uint32_t RailcomUartHandle::baseAddress |
Initialized by the constants from the processor header like USART1_BASE.
Definition at line 71 of file Stm32Railcom.hxx.
| USART_TypeDef* RailcomUartHandle::Instance |
Use this to access the registers.
Definition at line 73 of file Stm32Railcom.hxx.