ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_usb_pal_internal.h
Go to the documentation of this file.
1
13
14#pragma once
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#include <stdint.h>
21
22#include "ra8_attributes.h"
23
55bool priv_usb_pal_should_dispatch_event(const void* event_fn, uint16_t mask, uint16_t none_value);
56
87bool priv_usb_pal_ep_out_of_range(uint8_t ep_addr, uint8_t ep_max);
88
89#ifdef __cplusplus
90}
91#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
bool priv_usb_pal_ep_out_of_range(uint8_t ep_addr, uint8_t ep_max)
Pure predicate: endpoint number is zero OR exceeds max.
Definition ra8_usb_pal.c:67
bool priv_usb_pal_should_dispatch_event(const void *event_fn, uint16_t mask, uint16_t none_value)
Pure predicate: callback non-NULL AND mask non-zero.
Definition ra8_usb_pal.c:47