Fast Digital Pin functions. More...
#include <Arduino.h>
#include <avr/io.h>
#include <util/atomic.h>
Classes | |
class | DigitalPin< PinNumber > |
Fast digital port I/O. More... | |
class | pin_map_t |
struct for mapping digital pins More... | |
Functions | |
static void | badPinCheck (uint8_t pin) |
void | badPinNumber (void) |
static void | fastBitWriteSafe (volatile uint8_t *address, uint8_t bit, bool level) |
static bool | fastDigitalRead (uint8_t pin) |
static void | fastDigitalToggle (uint8_t pin) |
static void | fastDigitalWrite (uint8_t pin, bool level) |
static void | fastPinConfig (uint8_t pin, bool mode, bool level) |
static void | fastPinMode (uint8_t pin, bool mode) |
Variables | |
static const uint8_t | digitalPinCount = sizeof(pinMap)/sizeof(pin_map_t) |
Fast Digital Pin functions.