ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
board_periph_modem.h
Go to the documentation of this file.
1
34
35#pragma once
36
37#include <stdint.h>
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
62bool board_modem_attach(void);
63
79bool board_modem_attached(void);
80
98uint8_t board_modem_channel(void);
99
126uint32_t board_modem_feed_tx(uint8_t tx, uint8_t* out, uint32_t out_cap);
127
144void board_modem_reset(void);
145
158void board_modem_report(void);
159
160#ifdef __cplusplus
161}
162#endif
void board_modem_reset(void)
Clear the modem's parser state (keeps the attached flag).
uint8_t board_modem_channel(void)
SCI channel the modem is wired to (RXD7 / TXD7 = SCI7).
uint32_t board_modem_feed_tx(uint8_t tx, uint8_t *out, uint32_t out_cap)
Feed one firmware-transmitted byte into the modem and drain a reply.
bool board_modem_attached(void)
Report whether the AT modem model is currently attached.
void board_modem_report(void)
Print a one-line end-of-run summary if the modem was exercised.
bool board_modem_attach(void)
Attach (arm) the modelled AT cellular modem.