Properties and handlers for auxiliary digital and analog I/O. More...
#include <ioports.h>
Data Fields | |
uint8_t | num_digital_in |
Number of digital inputs available. More... | |
uint8_t | num_digital_out |
Number of digital outputs available. More... | |
uint8_t | num_analog_in |
Number of analog inputs available. More... | |
uint8_t | num_analog_out |
Number of analog outputs available. More... | |
digital_out_ptr | digital_out |
Optional handler for setting a digital output. More... | |
analog_out_ptr | analog_out |
Optional handler for setting an analog output. More... | |
wait_on_input_ptr | wait_on_input |
Optional handler for reading a digital or analog input. More... | |
set_pin_description_ptr | set_pin_description |
Optional handler for setting a description of an auxiliary pin. More... | |
get_pin_info_ptr | get_pin_info |
Optional handler for getting information about an auxiliary pin. More... | |
claim_port_ptr | claim |
Optional handler for claiming an auxiliary pin for exclusive use. More... | |
swap_pins_ptr | swap_pins |
Optional handler for swapping pins. More... | |
ioport_register_interrupt_handler_ptr | register_interrupt_handler |
Properties and handlers for auxiliary digital and analog I/O.
analog_out_ptr analog_out |
Optional handler for setting an analog output.
claim_port_ptr claim |
Optional handler for claiming an auxiliary pin for exclusive use.
digital_out_ptr digital_out |
Optional handler for setting a digital output.
get_pin_info_ptr get_pin_info |
Optional handler for getting information about an auxiliary pin.
uint8_t num_analog_in |
Number of analog inputs available.
uint8_t num_analog_out |
Number of analog outputs available.
uint8_t num_digital_in |
Number of digital inputs available.
uint8_t num_digital_out |
Number of digital outputs available.
ioport_register_interrupt_handler_ptr register_interrupt_handler |
set_pin_description_ptr set_pin_description |
Optional handler for setting a description of an auxiliary pin.
swap_pins_ptr swap_pins |
Optional handler for swapping pins.
wait_on_input_ptr wait_on_input |
Optional handler for reading a digital or analog input.