Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
RailcomDmaChannel Struct Reference

This struct helps casting the DMA channel 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...
 
   DMA_Channel_TypeDef *   Instance 
 Use this to access the registers. More...
 
};  
 

Detailed Description

This struct helps casting the DMA channel base addresses to the appropriate type.

It can be allocated in read-only memory (flash) as a static array.

Definition at line 79 of file Stm32Railcom.hxx.

Member Data Documentation

◆ baseAddress

uint32_t RailcomDmaChannel::baseAddress

Initialized by the constants from the processor header like USART1_BASE.

Definition at line 85 of file Stm32Railcom.hxx.

◆ Instance

DMA_Channel_TypeDef* RailcomDmaChannel::Instance

Use this to access the registers.

Definition at line 87 of file Stm32Railcom.hxx.


The documentation for this struct was generated from the following file: