ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
gpio_driver.h File Reference
#include <stdbool.h>
#include "drivers/v24_config.h"
Include dependency graph for gpio_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

V24_POLARITIES_T init_polarities (void)
 Build default V.24 polarity configuration.
 
void init_pins (void)
 Initialize all board GPIOs used by the application.
 

Function Documentation

◆ init_pins()

void init_pins ( void  )

Initialize all board GPIOs used by the application.

Definition at line 53 of file gpio_driver.c.

References ARRAY_LEN, inputs, and outputs.

Referenced by main().

Here is the caller graph for this function:

◆ init_polarities()

V24_POLARITIES_T init_polarities ( void  )

Build default V.24 polarity configuration.

Returns
Default polarity set for TX/RX/control lines.

Definition at line 35 of file gpio_driver.c.

References LOG_DEBUG.

Referenced by init_v24_config().

Here is the caller graph for this function: