EDU Arduino API
|
KETCube Arduino Digital IO API. More...
Data Fields | |
IO_pinMode_t | pinMode |
Configures the specified pin to behave either as an input or an output. More... | |
IO_digitalWrite_t | digitalWrite |
Write a value to a digital pin. More... | |
IO_digitalRead_t | digitalRead |
Reads the value from a specified digital pin. More... | |
IO_attachInterrupt_t | attachInterrupt |
Attach interrupt to a PIN. More... | |
KETCube Arduino Digital IO API.
IO_attachInterrupt_t ketCube_Arduino_API_t::IO::attachInterrupt |
Attach interrupt to a PIN.
pin | digital PIN, ketCube_Arduino_pin_t |
fn | pointer to IRQ Handler function |
IO_digitalRead_t ketCube_Arduino_API_t::IO::digitalRead |
Reads the value from a specified digital pin.
pin | digital PIN, ketCube_Arduino_pin_t |
IO_digitalWrite_t ketCube_Arduino_API_t::IO::digitalWrite |
Write a value to a digital pin.
pin | digital PIN, ketCube_Arduino_pin_t |
pinValue | HIGH or LOW value, ketCube_Arduino_pinValue_t |
IO_pinMode_t ketCube_Arduino_API_t::IO::pinMode |
Configures the specified pin to behave either as an input or an output.
pin | digital PIN, ketCube_Arduino_pin_t |
pinMode | ketCube_Arduino_pinMode_t |