ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_time_interface_t Struct Reference

Vtable for a wall-clock time source. More...

#include <ra8_time_interface.h>

Data Fields

uint32_t(* now_ms )(void *ctx)
 Return the current time in milliseconds.
void(* delay_ms )(void *ctx, uint32_t ms)
 Busy-wait for ms milliseconds.
void * ctx
 Opaque context handed to every call.

Detailed Description

Vtable for a wall-clock time source.

Definition at line 31 of file ra8_time_interface.h.

Field Documentation

◆ ctx

void* ra8_time_interface_t::ctx

Opaque context handed to every call.

Definition at line 43 of file ra8_time_interface.h.

◆ delay_ms

void(* ra8_time_interface_t::delay_ms) (void *ctx, uint32_t ms)

Busy-wait for ms milliseconds.

Definition at line 39 of file ra8_time_interface.h.

◆ now_ms

uint32_t(* ra8_time_interface_t::now_ms) (void *ctx)

Return the current time in milliseconds.

Definition at line 35 of file ra8_time_interface.h.


The documentation for this struct was generated from the following file: