![]() |
libbladeRF 2.5.0-git
Nuand bladeRF library
|
These functions provide the ability to read and write to the wishbone peripheral bus, which is reserved for modem
These functions are thread-safe.
Functions | |
| API_EXPORT int CALL_CONV | bladerf_wishbone_master_read (struct bladerf *dev, uint32_t addr, uint32_t *data) |
| API_EXPORT int CALL_CONV | bladerf_wishbone_master_write (struct bladerf *dev, uint32_t addr, uint32_t val) |
| API_EXPORT int CALL_CONV bladerf_wishbone_master_read | ( | struct bladerf * | dev, |
| uint32_t | addr, | ||
| uint32_t * | data ) |
Read a specific Wishbone Master address
| dev | Device handle | |
| addr | Wishbone Master address | |
| [out] | data | Wishbone Master data |
| API_EXPORT int CALL_CONV bladerf_wishbone_master_write | ( | struct bladerf * | dev, |
| uint32_t | addr, | ||
| uint32_t | val ) |
Write value to a specific Wishbone Master address
| dev | Device handle |
| addr | Wishbone Master address |
| data | Wishbone Master data |