37#include "configuration.h"
58 char name[CONFIG_IO_MAX_NAME_LEN];
System-wide error code definitions.
PIN_STATUS_te
Represents the logical level of a GPIO pin.
ERR_te
Standard return type used by all public API functions.
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_write(IO_HANDLE_ts *io_handle, PIN_STATUS_te pin_status)
Writes a logic level to an IO pin.
ERR_te io_stop_subsys(void)
Stops the IO subsystem.
ERR_te io_deinit_subsys(void)
Deinitializes the IO subsystem.
ERR_te io_deinit_handle(IO_HANDLE_ts const *io_handle)
Deinitializes an IO handle.
ERR_te io_start_subsys(void)
Starts the IO subsystem.
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.
ERR_te io_init_subsys(void)
Initializes the IO subsystem.
struct io_handle_s IO_HANDLE_ts
Opaque handle representing an IO instance.
STM32F401RE GPIO driver public API.
Configuration structure for initializing a GPIO pin.
Configuration structure for initializing an IO handle.
char name[CONFIG_IO_MAX_NAME_LEN]
GPIO_CFG_ts * gpio_handle
Internal structure representing a single IO instance.