#ifndef IO_H #define IO_H #include #include /** * @brief Initializes the I/O subsystem, including GPIOs and any related hardware * @return 0 on success, negative error code on failure */ int io_init(void); /** * @brief Sets the status of the I/O subsystem * @param status The status to set */ void io_status(bool status); /** * @brief Sets the USB connection status indicator * @param connected True if USB is connected, false otherwise */ void io_usb_status(bool connected); #endif