AberLED shield library
Library for the bicolor LED (and TFT screen) shield used in CS12020
Public Types | Public Member Functions | List of all members
Pin Class Reference

#include <TFT_FastPin.h>

Inheritance diagram for Pin:
Selectable InputPin OutputPin

Public Types

typedef volatile uint8_t * port_ptr_t
 
typedef uint8_t port_t
 

Public Member Functions

 Pin (int pin)
 
void setOutput ()
 
void setInput ()
 
void hi () __attribute__((always_inline))
 
void lo () __attribute__((always_inline))
 
void strobe () __attribute__((always_inline))
 
void hi (register port_ptr_t port) __attribute__((always_inline))
 
void lo (register port_ptr_t port) __attribute__((always_inline))
 
void set (register port_t val) __attribute__((always_inline))
 
void fastset (register port_ptr_t port, register port_t val) __attribute__((always_inline))
 
port_t hival () __attribute__((always_inline))
 
port_t loval () __attribute__((always_inline))
 
port_ptr_t port () __attribute__((always_inline))
 
port_t mask () __attribute__((always_inline))
 
virtual void select ()
 
virtual void release ()
 
virtual bool isSelected ()
 

Detailed Description

Definition at line 76 of file TFT_FastPin.h.

Member Typedef Documentation

typedef volatile uint8_t* Pin::port_ptr_t

Definition at line 88 of file TFT_FastPin.h.

typedef uint8_t Pin::port_t

Definition at line 89 of file TFT_FastPin.h.

Constructor & Destructor Documentation

Pin::Pin ( int  pin)
inline

Definition at line 86 of file TFT_FastPin.h.

Member Function Documentation

void Pin::fastset ( register port_ptr_t  port,
register port_t  val 
)
inline

Definition at line 103 of file TFT_FastPin.h.

void Pin::hi ( )
inline

Definition at line 94 of file TFT_FastPin.h.

void Pin::hi ( register port_ptr_t  port)
inline

Definition at line 99 of file TFT_FastPin.h.

port_t Pin::hival ( )
inline

Definition at line 105 of file TFT_FastPin.h.

virtual bool Pin::isSelected ( )
inlinevirtual

Implements Selectable.

Definition at line 112 of file TFT_FastPin.h.

void Pin::lo ( )
inline

Definition at line 95 of file TFT_FastPin.h.

void Pin::lo ( register port_ptr_t  port)
inline

Definition at line 100 of file TFT_FastPin.h.

port_t Pin::loval ( )
inline

Definition at line 106 of file TFT_FastPin.h.

port_t Pin::mask ( )
inline

Definition at line 108 of file TFT_FastPin.h.

port_ptr_t Pin::port ( )
inline

Definition at line 107 of file TFT_FastPin.h.

virtual void Pin::release ( )
inlinevirtual

Implements Selectable.

Definition at line 111 of file TFT_FastPin.h.

virtual void Pin::select ( )
inlinevirtual

Implements Selectable.

Definition at line 110 of file TFT_FastPin.h.

void Pin::set ( register port_t  val)
inline

Definition at line 101 of file TFT_FastPin.h.

void Pin::setInput ( )
inline

Definition at line 92 of file TFT_FastPin.h.

void Pin::setOutput ( )
inline

Definition at line 91 of file TFT_FastPin.h.

void Pin::strobe ( )
inline

Definition at line 97 of file TFT_FastPin.h.


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