Numworks Epsilon  1.4.1
Graphing Calculator Operating System
GPIO::AFR Class Reference

#include <gpio.h>

Inheritance diagram for GPIO::AFR:
Register< T >

Public Types

enum  AlternateFunction {
  AlternateFunction::AF0 = 0, AlternateFunction::AF1 = 1, AlternateFunction::AF2 = 2, AlternateFunction::AF3 = 3,
  AlternateFunction::AF4 = 4, AlternateFunction::AF5 = 5, AlternateFunction::AF6 = 6, AlternateFunction::AF7 = 7,
  AlternateFunction::AF8 = 8, AlternateFunction::AF9 = 9, AlternateFunction::AF10 = 10, AlternateFunction::AF11 = 11,
  AlternateFunction::AF12 = 12, AlternateFunction::AF13 = 13, AlternateFunction::AF14 = 14, AlternateFunction::AF15 = 15
}
 

Public Member Functions

AlternateFunction getAlternateFunction (int index)
 
void setAlternateFunction (int index, AlternateFunction af) volatile
 

Detailed Description

Definition at line 53 of file gpio.h.

Member Enumeration Documentation

◆ AlternateFunction

Enumerator
AF0 
AF1 
AF2 
AF3 
AF4 
AF5 
AF6 
AF7 
AF8 
AF9 
AF10 
AF11 
AF12 
AF13 
AF14 
AF15 

Definition at line 57 of file gpio.h.

Member Function Documentation

◆ getAlternateFunction()

AlternateFunction GPIO::AFR::getAlternateFunction ( int  index)
inline

Definition at line 63 of file gpio.h.

◆ setAlternateFunction()

void GPIO::AFR::setAlternateFunction ( int  index,
AlternateFunction  af 
) volatile
inline

Definition at line 66 of file gpio.h.


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