Numworks Epsilon  1.4.1
Graphing Calculator Operating System
GPIO Class Reference

#include <gpio.h>

Classes

class  AFR
 
class  IDR
 
class  MODER
 
class  ODR
 
class  OTYPER
 
class  PUPDR
 

Public Member Functions

constexpr GPIO (int i)
 
constexpr operator int () const
 
 REGS_REGISTER_AT (MODER, 0x00)
 
 REGS_REGISTER_AT (OTYPER, 0x04)
 
 REGS_REGISTER_AT (PUPDR, 0x0C)
 
 REGS_REGISTER_AT (IDR, 0x10)
 
 REGS_REGISTER_AT (ODR, 0x14)
 
 REGS_REGISTER_AT (AFR, 0x20)
 

Detailed Description

Definition at line 6 of file gpio.h.

Constructor & Destructor Documentation

◆ GPIO()

constexpr GPIO::GPIO ( int  i)
inline

Definition at line 71 of file gpio.h.

Member Function Documentation

◆ operator int()

constexpr GPIO::operator int ( ) const
inline

Definition at line 72 of file gpio.h.

◆ REGS_REGISTER_AT() [1/6]

GPIO::REGS_REGISTER_AT ( MODER  ,
0x00   
)

◆ REGS_REGISTER_AT() [2/6]

GPIO::REGS_REGISTER_AT ( OTYPER  ,
0x04   
)

◆ REGS_REGISTER_AT() [3/6]

GPIO::REGS_REGISTER_AT ( PUPDR  ,
0x0C   
)

◆ REGS_REGISTER_AT() [4/6]

GPIO::REGS_REGISTER_AT ( IDR  ,
0x10   
)

◆ REGS_REGISTER_AT() [5/6]

GPIO::REGS_REGISTER_AT ( ODR  ,
0x14   
)

◆ REGS_REGISTER_AT() [6/6]

GPIO::REGS_REGISTER_AT ( AFR  ,
0x20   
)

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