|
|
|
|
|
|
|
|
|
|
|
|
|
|
class DMABaseClass { |
|
|
class DMABaseClass { |
|
|
public: |
|
|
public: |
|
|
typedef struct __attribute__((packed)) { |
|
|
|
|
|
|
|
|
typedef struct __attribute__((packed, aligned(4))) { |
|
|
volatile const void * volatile SADDR; |
|
|
volatile const void * volatile SADDR; |
|
|
int16_t SOFF; |
|
|
int16_t SOFF; |
|
|
union { uint16_t ATTR; |
|
|
union { uint16_t ATTR; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class DMABaseClass { |
|
|
class DMABaseClass { |
|
|
public: |
|
|
public: |
|
|
typedef struct __attribute__((packed)) { |
|
|
|
|
|
|
|
|
typedef struct __attribute__((packed, aligned(4))) { |
|
|
volatile const void * volatile SAR; |
|
|
volatile const void * volatile SAR; |
|
|
volatile void * volatile DAR; |
|
|
volatile void * volatile DAR; |
|
|
volatile uint32_t DSR_BCR; |
|
|
volatile uint32_t DSR_BCR; |