A struct which holds the information about a pin. Used in order to pass pin information.
More...
#include <spi.h>
|
volatile uint8_t * | port |
|
volatile uint8_t * | ddr |
|
uint8_t | pin |
|
A struct which holds the information about a pin. Used in order to pass pin information.
§ PIN() [1/2]
SPI::PIN::PIN |
( |
volatile uint8_t * |
port, |
|
|
volatile uint8_t * |
ddr, |
|
|
uint8_t |
pin |
|
) |
| |
|
inline |
Constructor with 3 parameters
- Parameters
-
port | A pointer to the port register for the pin |
ddr | A pointer to the data direction register for the pin |
The | pin number |
§ PIN() [2/2]
Constructor with 2 parameters
- Parameters
-
port | A pointer to the port register for the pin |
ddr | A pointer to the data direction register for the pin |
§ operator=()
PIN SPI::PIN::operator= |
( |
PIN * |
original_pin | ) |
|
|
inline |
Overloading the "=" operator for PIN.
§ ddr
volatile uint8_t* SPI::PIN::ddr |
A pointer to the data direction register for the pin
§ pin
§ port
volatile uint8_t* SPI::PIN::port |
A pointer to the port register for the pin
The documentation for this struct was generated from the following file: