# buffer_addr_t Union Reference

A physical/virtual address pair used in struct buffer. More...

`#include <dma.h>`

## Data Fields
phys_addr_t | phys
| Physical address.
void * | ptr
| Virtual address.

## Detailed Description

A physical/virtual address pair used in struct buffer.

Since physical and virtual addresses are always identical on AVR32 UC3, they can share the same storage as a union.

Definition at line 55 of file dma.h.

## Field Documentation

phys_addr_t buffer_addr_t::phys

Physical address.

Definition at line 56 of file dma.h.

Referenced by aes_duplicate_buffer_refs(), buffer_init_rx(), buffer_init_rx_mapped(), buffer_init_tx(), buffer_init_tx_mapped(), usbb_udc_submit_in_queue(), and usbb_udc_submit_out_queue().

void* buffer_addr_t::ptr

Virtual address.

Definition at line 57 of file dma.h.

Referenced by aes_duplicate_buffer_refs(), buffer_init_rx(), buffer_init_rx_mapped(), buffer_init_tx(), and buffer_init_tx_mapped().

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

- cpu/uc3/include/cpu/dma.h