ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
c6_wifi.h
Go to the documentation of this file.
1
31
32#pragma once
33
34#include <stddef.h>
35#include <stdint.h>
36
37#include "ra8_c6link.h"
38#include "ra8_err.h"
39
74
103
118void c6_wifi_puts(const char* text);
119
132void c6_wifi_put_u32(uint32_t value);
133
147void c6_wifi_put_i32(int32_t value);
148
164void c6_wifi_put_hex(uint32_t value, uint8_t digits);
165
183void c6_wifi_put_text(const char* text, size_t len);
184
197void c6_wifi_put_mac(const ra8_c6link_mac_t* mac);
198
214void c6_wifi_print_banner(uint32_t cpuclk_hz, uint32_t pclka_hz);
215
232void c6_wifi_print_stats(const char* label, const ra8_c6link_stats_t* stats);
void c6_wifi_put_u32(uint32_t value)
Emit an unsigned 32-bit value in decimal.
void c6_wifi_print_stats(const char *label, const ra8_c6link_stats_t *stats)
Print what one facade poll did, as one console line.
c6_wifi_fmt_t
Bounds for the console formatters in src/c6_wifi_console.c.
Definition c6_wifi.h:90
@ k_c6_wifi_str_max
Longest string the console helper emits.
Definition c6_wifi.h:91
@ k_c6_wifi_hex_mask
Nibble mask.
Definition c6_wifi.h:96
@ k_c6_wifi_hex_byte
Hex digits printed for a byte-wide field.
Definition c6_wifi.h:98
@ k_c6_wifi_dec_digits
Digits in the widest 32-bit decimal value.
Definition c6_wifi.h:93
@ k_c6_wifi_hex_alpha
First nibble value spelled with a letter.
Definition c6_wifi.h:97
@ k_c6_wifi_text_max
Longest co-processor-supplied string echoed to the console; anything longer is truncated rather than ...
Definition c6_wifi.h:99
@ k_c6_wifi_hex_digits
Digits in the widest 32-bit hex value.
Definition c6_wifi.h:94
@ k_c6_wifi_dec_radix
Decimal radix.
Definition c6_wifi.h:92
@ k_c6_wifi_hex_bits
Bits per hexadecimal digit.
Definition c6_wifi.h:95
void c6_wifi_put_i32(int32_t value)
Emit a signed 32-bit value in decimal.
void c6_wifi_put_hex(uint32_t value, uint8_t digits)
Emit a value as a fixed-width lower-case hexadecimal field.
void c6_wifi_puts(const char *text)
Write a NUL-terminated string to the board console.
void c6_wifi_put_text(const char *text, size_t len)
Emit a NUL-terminated co-processor string as printable text.
void c6_wifi_put_mac(const ra8_c6link_mac_t *mac)
Emit an IEEE 802 address as six colon-separated hexadecimal octets.
c6_wifi_cfg_t
Link, thread and pacing parameters this application chooses.
Definition c6_wifi.h:58
@ k_c6_wifi_sck_hz
SPI bit rate; the rate the RPC round-trip ran at on silicon.
Definition c6_wifi.h:60
@ k_c6_wifi_uart_baud
Console rate, 8N1, over the J-Link OB VCOM.
Definition c6_wifi.h:59
@ k_c6_wifi_boot_wait_ms
Settling delay before the first transaction.
Definition c6_wifi.h:64
@ k_c6_wifi_arena_bytes
Decode arena handed to the facade.
Definition c6_wifi.h:70
@ k_c6_wifi_worker_prio
Worker priority and preemption threshold.
Definition c6_wifi.h:69
@ k_c6_wifi_heartbeat_ms
Heartbeat gap after the verdict, in milliseconds and therefore in ThreadX ticks.
Definition c6_wifi.h:65
@ k_c6_wifi_edge_poll_ms
Poll period for a side-band pin with no ICU channel.
Definition c6_wifi.h:62
@ k_c6_wifi_worker_stack
Worker-thread stack, in bytes.
Definition c6_wifi.h:67
void c6_wifi_print_banner(uint32_t cpuclk_hz, uint32_t pclka_hz)
Print the banner: identity, clocks and link parameters.
Error Code Definitions for ra8-firmware.