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

#include <otg.h>

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

Public Types

enum  PKTSTS {
  PKTSTS::GlobalOutNAK = 1, PKTSTS::OutReceived = 2, PKTSTS::OutTransferCompleted = 3, PKTSTS::SetupTransactionCompleted = 4,
  PKTSTS::SetupReceived = 6
}
 

Public Member Functions

 REGS_FIELD (EPNUM, uint8_t, 3, 0)
 
 REGS_FIELD (BCNT, uint16_t, 14, 4)
 
PKTSTS getPKTSTS () volatile
 
- 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 53 of file otg.h.

Member Enumeration Documentation

◆ PKTSTS

enum OTG::GRXSTSP::PKTSTS
strong
Enumerator
GlobalOutNAK 
OutReceived 
OutTransferCompleted 
SetupTransactionCompleted 
SetupReceived 

Definition at line 56 of file otg.h.

Member Function Documentation

◆ getPKTSTS()

PKTSTS OTG::GRXSTSP::getPKTSTS ( ) volatile
inline

Definition at line 65 of file otg.h.

◆ REGS_FIELD() [1/2]

OTG::GRXSTSP::REGS_FIELD ( EPNUM  ,
uint8_t  ,
,
 
)

◆ REGS_FIELD() [2/2]

OTG::GRXSTSP::REGS_FIELD ( BCNT  ,
uint16_t  ,
14  ,
 
)

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