SdFat
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Classes | Functions | Variables
DigitalPin.h File Reference

Fast Digital Pin functions. More...

#include <Arduino.h>
#include <avr/io.h>
#include <util/atomic.h>
Include dependency graph for DigitalPin.h:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Fast Digital Pin functions.