Numworks Epsilon  1.4.1
Graphing Calculator Operating System
OTG::DIEPCTL0 Class Reference

#include <otg.h>

Inheritance diagram for OTG::DIEPCTL0:
Register< T >

Public Types

enum  MPSIZ { MPSIZ::Size64 = 0, MPSIZ::Size32 = 1, MPSIZ::Size16 = 2, MPSIZ::Size8 = 3 }
 

Public Member Functions

void setMPSIZ (MPSIZ s) volatile
 
 REGS_BOOL_FIELD (STALL, 21)
 
 REGS_FIELD (TXFNUM, uint8_t, 25, 22)
 
 REGS_BOOL_FIELD (CNAK, 26)
 
 REGS_BOOL_FIELD (SNAK, 27)
 
 REGS_BOOL_FIELD (EPENA, 31)
 
- Public Member Functions inherited from Register< T >
 Register ()=delete
 
 Register (T v)
 
void set (Register< T > value) volatile
 
void set (T value) volatile
 
T get () volatile
 
void setBitRange (uint8_t high, uint8_t low, T value) volatile
 
T getBitRange (uint8_t high, uint8_t low) volatile
 

Additional Inherited Members

- Static Protected Member Functions inherited from Register< T >
static constexpr T bit_range_mask (uint8_t high, uint8_t low)
 
static constexpr T bit_range_value (T value, uint8_t high, uint8_t low)
 
static constexpr T bit_range_set_value (uint8_t high, uint8_t low, T originalValue, T targetValue)
 

Detailed Description

Definition at line 110 of file otg.h.

Member Enumeration Documentation

◆ MPSIZ

enum OTG::DIEPCTL0::MPSIZ
strong
Enumerator
Size64 
Size32 
Size16 
Size8 

Definition at line 112 of file otg.h.

Member Function Documentation

◆ REGS_BOOL_FIELD() [1/4]

OTG::DIEPCTL0::REGS_BOOL_FIELD ( STALL  ,
21   
)

◆ REGS_BOOL_FIELD() [2/4]

OTG::DIEPCTL0::REGS_BOOL_FIELD ( CNAK  ,
26   
)

◆ REGS_BOOL_FIELD() [3/4]

OTG::DIEPCTL0::REGS_BOOL_FIELD ( SNAK  ,
27   
)

◆ REGS_BOOL_FIELD() [4/4]

OTG::DIEPCTL0::REGS_BOOL_FIELD ( EPENA  ,
31   
)

◆ REGS_FIELD()

OTG::DIEPCTL0::REGS_FIELD ( TXFNUM  ,
uint8_t  ,
25  ,
22   
)

◆ setMPSIZ()

void OTG::DIEPCTL0::setMPSIZ ( MPSIZ  s) volatile
inline

Definition at line 119 of file otg.h.


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