Zephyr API 3.6.99
Loading...
Searching...
No Matches
udc_buf.h File Reference

Buffers for USB device support. More...

#include <zephyr/kernel.h>
#include <zephyr/net_buf.h>

Go to the source code of this file.

Macros

#define UDC_BUF_ALIGN   Z_UDC_BUF_ALIGN
 Buffer alignment required by the UDC driver.
 
#define UDC_BUF_GRANULARITY   Z_UDC_BUF_GRANULARITY
 Buffer granularity required by the UDC driver.
 
#define UDC_STATIC_BUF_DEFINE(name, size)
 Define a UDC driver-compliant static buffer.
 
#define IS_UDC_ALIGNED(buf)
 Verify that the buffer is aligned as required by the UDC driver.
 
#define UDC_BUF_POOL_VAR_DEFINE(pname, count, size, ud_size, fdestroy)
 Define a new pool for UDC buffers with variable-size payloads.
 
#define UDC_BUF_POOL_DEFINE(pname, count, size, ud_size, fdestroy)
 Define a new pool for UDC buffers based on fixed-size data.
 

Detailed Description

Buffers for USB device support.