MySensors Library & Examples  2.3.2
Classes | Macros | Functions | Variables
DigitalPin.h File Reference

Detailed Description

Fast Digital Pin functions.

Definition in file DigitalPin.h.

#include <avr/io.h>
#include "boards/GpioPinMap.h"
+ Include dependency graph for DigitalPin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GpioPinMap_t
 
class  DigitalPin< PinNumber >
 Fast digital port I/O. More...
 

Macros

#define GPIO_PIN(reg, bit)   {&PIN##reg, &DDR##reg, &PORT##reg, 1 << bit}
 
#define fastPinConfig(pin, mode, level)   {fastPinMode(pin, mode); fastDigitalWrite(pin, level);}
 

Functions

void badPinNumber (void) __attribute__((error("Pin number is too large or not a const ant")))
 
 if (address > reinterpret_cast< uint8_t * >(0X3F))
 
 if (level)
 
 if (mode !=OUTPUT)
 

Variables

static uint8_t mask
 
static uint8_t bool level
 
 else
 
static uint8_t mode