ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
gpio_driver.h
Go to the documentation of this file.
1/*
2 * ether2ser - Ethernet <-> synchronous V.24 (RS-232/V.28) bridge
3 *
4 * File: src/drivers/gpio_driver.h
5 * Purpose: GPIO initialization and polarity configuration API.
6 *
7 * SPDX-License-Identifier: Apache-2.0
8 *
9 * Copyright (c) 2026 Florian <f.leuze@outlook.de>
10 */
11
12#ifndef GPIO_DRIVER_H
13#define GPIO_DRIVER_H
14
15// Related headers
16
17// Standard library headers
18#include <stdbool.h>
19
20// Project Headers
21#include "drivers/v24_config.h"
22
23// Generated headers
24
30
34void init_pins(void);
35
36#endif /* GPIO_DRIVER_H */
V24_POLARITIES_T init_polarities(void)
Build default V.24 polarity configuration.
Definition gpio_driver.c:35
void init_pins(void)
Initialize all board GPIOs used by the application.
Definition gpio_driver.c:53
Combined TX and RX polarity configuration.
Definition v24_config.h:78