ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ns_usb_internal.h
Go to the documentation of this file.
1
23#pragma once
24
25#include <stdint.h>
26
27#include "ra8_attributes.h"
28#include "tx_api.h"
29
41typedef enum : uint32_t {
45
61void ra8_delay_ms(uint32_t ms);
62
78uint32_t ra8_time_ms(void);
79
91
101
111
TX_THREAD s_ns_host_thread
ThreadX TCB for the HS host worker (defined in ns_usb_host.c).
Definition ns_usb_host.c:88
CHAR s_ns_host_thread_name[]
HS host worker thread name (defined in ns_usb_host.c; ThreadX CHAR*).
VOID ns_host_worker(ULONG arg)
HS host worker – enumerate the looped FS device, then echo forever.
void ra8_delay_ms(uint32_t ms)
Non-Secure ra8_delay_ms – sleep ms ThreadX ticks.
Definition ra8_time.c:129
ns_host_cfg_t
HS host worker thread storage geometry + the shared ThreadX time-slice.
@ k_ns_host_stack_bytes
HS host worker stack (bytes).
@ k_ns_time_slice
ThreadX time-slice (ticks) per worker.
UCHAR s_ns_host_stack[k_ns_host_stack_bytes]
Stack backing storage for s_ns_host_thread (defined in ns_usb_host.c).
Definition ns_usb_host.c:95
uint32_t ra8_time_ms(void)
Non-Secure ra8_time_ms – monotonic millisecond clock from ThreadX.
Definition ra8_time.c:108
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
char CHAR
ThreadX-compatible CHAR (host stub).
unsigned long ULONG
ThreadX-compatible unsigned long (host stub).
Opaque thread stand-in for the host build.