|
GPS Device
|
Digital IO module public API. More...


Go to the source code of this file.
Classes | |
| struct | IO_CFG_ts |
| Configuration structure for initializing an IO handle. More... | |
Typedefs | |
| typedef struct io_handle_s | IO_HANDLE_ts |
| Opaque handle representing an IO instance. | |
Functions | |
| ERR_te | io_init_subsys (void) |
| Initializes the IO subsystem. | |
| ERR_te | io_deinit_subsys (void) |
| Deinitializes the IO subsystem. | |
| ERR_te | io_start_subsys (void) |
| Starts the IO subsystem. | |
| ERR_te | io_stop_subsys (void) |
| Stops the IO subsystem. | |
| ERR_te | io_init_handle (IO_CFG_ts *io_cfg, IO_HANDLE_ts **io_handle_o) |
| Initializes and registers an IO handle. | |
| ERR_te | io_deinit_handle (IO_HANDLE_ts const *io_handle) |
| Deinitializes an IO handle. | |
| ERR_te | io_write (IO_HANDLE_ts *io_handle, PIN_STATUS_te pin_status) |
| Writes a logic level to an IO pin. | |
| ERR_te | io_read (IO_HANDLE_ts const *io_handle, PIN_STATUS_te *pin_status_o) |
| Reads the current logic level of an IO pin. | |
Digital IO module public API.
This module provides a named abstraction over GPIO pins, supporting both digital output (write) and digital input (read) operations. It follows the same subsystem lifecycle pattern used across the project: init → start → run → stop → deinit.
Typical usage:
Definition in file io.h.