Class definition for a Pin where we know the port registers at compile time for said pin. This allows us to make a lot of optimizations, as the inlined hi/lo methods will devolve to a single io register write/bitset.
More...
#include <TFT_FastPin.h>
|
static void | setOutput () |
|
static void | setInput () |
|
static void | hi () __attribute__((always_inline)) |
|
static void | lo () __attribute__((always_inline)) |
|
static void | set (register uint8_t val) __attribute__((always_inline)) |
|
static void | strobe () __attribute__((always_inline)) |
|
static void | hi (register port_ptr_t port) __attribute__((always_inline)) |
|
static void | lo (register port_ptr_t port) __attribute__((always_inline)) |
|
static void | fastset (register port_ptr_t port, register uint8_t val) __attribute__((always_inline)) |
|
static port_t | hival () __attribute__((always_inline)) |
|
static port_t | loval () __attribute__((always_inline)) |
|
static port_ptr_t | port () __attribute__((always_inline)) |
|
static port_t | mask () __attribute__((always_inline)) |
|
template<uint8_t PIN, uint8_t _MASK, typename _PORT, typename _DDR, typename _PIN>
class _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >
Class definition for a Pin where we know the port registers at compile time for said pin. This allows us to make a lot of optimizations, as the inlined hi/lo methods will devolve to a single io register write/bitset.
Definition at line 175 of file TFT_FastPin.h.
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static void _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::fastset |
( |
register port_ptr_t |
port, |
|
|
register uint8_t |
val |
|
) |
| |
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static void _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::hi |
( |
| ) |
|
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static port_t _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::hival |
( |
| ) |
|
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static void _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::lo |
( |
| ) |
|
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static port_t _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::loval |
( |
| ) |
|
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static void _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::set |
( |
register uint8_t |
val | ) |
|
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static void _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::setInput |
( |
| ) |
|
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static void _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::setOutput |
( |
| ) |
|
|
inlinestatic |
template<uint8_t PIN, uint8_t _MASK, typename _PORT , typename _DDR , typename _PIN >
static void _AVRPIN< PIN, _MASK, _PORT, _DDR, _PIN >::strobe |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: