![]() |
![]() |
Specification of the Base Address Register (BAR). More...
#include <pcie.h>
Data Fields | |
uint32_t | raw |
[ro] Raw image of register on read; actual value on write | |
uint32_t | reg32 |
[rw] 32bits word (BAR mask or BAR address) |
Specification of the Base Address Register (BAR).
This should be used to read/write a 32bit word to the BAR register.
There are two situations when this structure should be used:
1. When setting up BAR masks
2. When setting up the upper 32bits of a 64bits BAR
Refer to pcieBarReg_t for the other possible BAR configurations
uint32_t pcieBar32bitReg_s::reg32 |
[rw] 32bits word (BAR mask or BAR address)
Field size: 32 bits