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

#include <gpio.h>

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

Public Types

enum  Pull { Pull::None = 0, Pull::Up = 1, Pull::Down = 2, Pull::Reserved = 3 }
 

Public Member Functions

Pull getPull (int index)
 
void setPull (int index, Pull pull) 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 30 of file gpio.h.

Member Enumeration Documentation

◆ Pull

enum GPIO::PUPDR::Pull
strong
Enumerator
None 
Up 
Down 
Reserved 

Definition at line 32 of file gpio.h.

Member Function Documentation

◆ getPull()

Pull GPIO::PUPDR::getPull ( int  index)
inline

Definition at line 38 of file gpio.h.

◆ setPull()

void GPIO::PUPDR::setPull ( int  index,
Pull  pull 
) volatile
inline

Definition at line 39 of file gpio.h.


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