Fast Digital Pin functions.
Definition in file DigitalPin.h.
#include <avr/io.h>
#include "boards/GpioPinMap.h"
Go to the source code of this file.
|
#define | GPIO_PIN(reg, bit) {&PIN##reg, &DDR##reg, &PORT##reg, 1 << bit} |
|
#define | fastPinConfig(pin, mode, level) {fastPinMode(pin, mode); fastDigitalWrite(pin, level);} |
|
|
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) |
|
|
static uint8_t | mask |
|
static uint8_t bool | level |
|
| else |
|
static uint8_t | mode |
|