![]() |
Arduino Pin Library
v4.2.0
An easy to use Arduino library for fast and simultaneous operations on Arduino I/O pins.
|
Fast operations on Arduino I/O pins. More...
#include "Arduino.h"
Go to the source code of this file.
Data Structures | |
class | Pin |
Class for fast operations on Arduino I/O pins. More... | |
Macros | |
#define | DDR_HIGH (*_DDR |= _offset) |
Set the DDR register to HIGH for the pin. | |
#define | DDR_TOGGLE (*_DDR ^= _offset) |
Set the DDR register to the inverse for the pin. | |
#define | DDR_LOW (*_DDR &= _ioffset) |
Set the DDR register to LOW for the pin. | |
#define | PORT_HIGH (*_PORT |= _offset) |
Set the PORT register to HIGH for the pin. | |
#define | PORT_TOGGLE (*_PORT ^= _offset) |
Set the PORT register to the inverse for the pin. | |
#define | PORT_LOW (*_PORT &= _ioffset) |
Set the PORT register to LOW for the pin. | |
#define | DDR_ON (*_DDR & _offset) |
Get the DDR register for the pin (HIGH, LOW) | |
#define | DDR_OFF (*_DDR | _ioffset) |
Get the DDR register for the pin (HIGH, LOW) | |
#define | PORT_ON (*_PORT & _offset) |
Get the PORT register for the pin (HIGH, LOW) | |
#define | PORT_OFF (*_PORT | _ioffset) |
Get the PORT register for the pin (HIGH, LOW) | |
#define | PIN_ON (*_PIN & _offset) |
Get the PIN register for the pin (HIGH, LOW) | |
#define | PIN_OFF (*_PIN | _ioffset) |
Get the PIN register for the pin (HIGH, LOW) | |
Fast operations on Arduino I/O pins.
Definition in file Pin.h.