|
ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
|
#include "platform/pinmap.h"

Go to the source code of this file.
Macros | |
| #define | BAUDRATE_MONITOR_PIN V24_RXC |
| GPIO pin used by default for baudrate estimation. | |
Functions | |
| void | baudrate_estimator_init (V24_PIN_T pin) |
| Initialize baudrate estimator on a specific RX clock pin. | |
| float | baudrate_estimator_get_current_estimation (V24_PIN_T pin) |
| Get latest baudrate estimate. | |
| #define BAUDRATE_MONITOR_PIN V24_RXC |
GPIO pin used by default for baudrate estimation.
Definition at line 27 of file baudrate_monitor.h.
| float baudrate_estimator_get_current_estimation | ( | V24_PIN_T | pin | ) |
Get latest baudrate estimate.
| pin | V.24 clock pin being monitored. |
Definition at line 65 of file baudrate_monitor.c.
References baud_hz, and baud_ready.
Referenced by print_status_event().

| void baudrate_estimator_init | ( | V24_PIN_T | pin | ) |
Initialize baudrate estimator on a specific RX clock pin.
| pin | V.24 clock pin to monitor. |
Definition at line 118 of file baudrate_monitor.c.
References baud_timer, baud_timer_cb(), BAUD_TIMER_MS, current_pin_count, monitored_pin, PIN_COUNT, and rxc_edge_isr().
Referenced by main().

