Numworks Epsilon  1.4.1
Graphing Calculator Operating System
DMA::SCR Class Reference

#include <dma.h>

Inheritance diagram for DMA::SCR:
Register< T >

Public Types

enum  Burst { Burst::Single = 0, Burst::Incremental4 = 1, Burst::Incremental8 = 2, Burst::Incremental16 = 3 }
 
enum  DataSize { DataSize::Byte = 0, DataSize::HalfWord = 1, DataSize::Word = 2 }
 
enum  Direction { Direction::PeripheralToMemory = 0, Direction::MemoryToPeripheral = 1, Direction::MemoryToMemory = 2 }
 

Public Member Functions

 REGS_FIELD (CHSEL, uint8_t, 27, 25)
 
 REGS_FIELD (MBURST, Burst, 24, 23)
 
 REGS_FIELD (PBURST, Burst, 22, 21)
 
 REGS_FIELD (MSIZE, DataSize, 14, 13)
 
 REGS_FIELD (PSIZE, DataSize, 12, 11)
 
 REGS_BOOL_FIELD (MINC, 10)
 
 REGS_BOOL_FIELD (PINC, 9)
 
 REGS_BOOL_FIELD (CIRC, 8)
 
 REGS_FIELD (DIR, Direction, 7, 6)
 
 REGS_BOOL_FIELD (EN, 0)
 

Detailed Description

Definition at line 10 of file dma.h.

Member Enumeration Documentation

◆ Burst

enum DMA::SCR::Burst
strong
Enumerator
Single 
Incremental4 
Incremental8 
Incremental16 

Definition at line 12 of file dma.h.

◆ DataSize

enum DMA::SCR::DataSize
strong
Enumerator
Byte 
HalfWord 
Word 

Definition at line 18 of file dma.h.

◆ Direction

enum DMA::SCR::Direction
strong
Enumerator
PeripheralToMemory 
MemoryToPeripheral 
MemoryToMemory 

Definition at line 23 of file dma.h.

Member Function Documentation

◆ REGS_BOOL_FIELD() [1/4]

DMA::SCR::REGS_BOOL_FIELD ( MINC  ,
10   
)

◆ REGS_BOOL_FIELD() [2/4]

DMA::SCR::REGS_BOOL_FIELD ( PINC  ,
 
)

◆ REGS_BOOL_FIELD() [3/4]

DMA::SCR::REGS_BOOL_FIELD ( CIRC  ,
 
)

◆ REGS_BOOL_FIELD() [4/4]

DMA::SCR::REGS_BOOL_FIELD ( EN  ,
 
)

◆ REGS_FIELD() [1/6]

DMA::SCR::REGS_FIELD ( CHSEL  ,
uint8_t  ,
27  ,
25   
)

◆ REGS_FIELD() [2/6]

DMA::SCR::REGS_FIELD ( MBURST  ,
Burst  ,
24  ,
23   
)

◆ REGS_FIELD() [3/6]

DMA::SCR::REGS_FIELD ( PBURST  ,
Burst  ,
22  ,
21   
)

◆ REGS_FIELD() [4/6]

DMA::SCR::REGS_FIELD ( MSIZE  ,
DataSize  ,
14  ,
13   
)

◆ REGS_FIELD() [5/6]

DMA::SCR::REGS_FIELD ( PSIZE  ,
DataSize  ,
12  ,
11   
)

◆ REGS_FIELD() [6/6]

DMA::SCR::REGS_FIELD ( DIR  ,
Direction  ,
,
 
)

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