34 if (text ==
nullptr) {
49 uint32_t rest = value;
57 for (uint32_t i = 0U; i < count; i++) {
58 out[i] = digits[count - 1U - i];
66 uint32_t magnitude = (uint32_t)value;
69 magnitude = ~(uint32_t)value + 1U;
80 for (uint8_t i = 0U; i < digits; i++) {
84 ? (uint8_t)(
'0' + nibble)
Shared contract for the esp-hosted port bring-up application.
@ k_c6_hosted_hex_alpha
First nibble value spelled with a letter.
@ k_c6_hosted_str_max
Longest string the console helper emits.
@ k_c6_hosted_dec_digits
Digits in the widest 32-bit decimal value.
@ k_c6_hosted_hex_bits
Bits per hexadecimal digit.
@ k_c6_hosted_hex_digits
Digits in the widest 32-bit hex value.
@ k_c6_hosted_hex_mask
Nibble mask.
@ k_c6_hosted_dec_radix
Decimal radix.
void c6_hosted_puts(const char *text)
Write a NUL-terminated string to the board console.
void c6_hosted_put_i32(int32_t value)
Implementation of c6_hosted_put_i32() – two's-complement magnitude.
void c6_hosted_put_u32(uint32_t value)
Implementation of c6_hosted_put_u32() – reversed division loop.
void c6_hosted_put_hex(uint32_t value, uint8_t digits)
Emit a value as a fixed-width lower-case hexadecimal field.
void c6_hosted_print_pin(const char *label, ra8_esp_hosted_pin_t pin)
Implementation of c6_hosted_print_pin() – unpacks, then delegates.
void c6_hosted_print_gpio(const char *label, const void *gpio_port, int32_t gpio_pin)
Print an H_GPIO_*_Port / H_GPIO_*_Pin pair as one field.
Board-support layer for the Renesas EK-RA8D2 v1 evaluation kit.
ra8_board_eth_pin_t pin
Pin.
ra8_err_t ra8_board_uart_console_write(const uint8_t *data, size_t len)
Polled blocking write to the J-Link OB VCOM console.
THE single point of change for the RA8 <-> ESP32-C6 harness map.
ra8_esp_hosted_pin_t
RA8-side pin assignment for every esp-hosted link signal.
@ k_ra8_pin_none
Sentinel: no pin selected.
#define RA8_PIN_PORT(p)
Extract the port index from a packed ra8_port_pin_t.
#define RA8_PIN_PIN(p)
Extract the pin index from a packed ra8_port_pin_t.