| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | eocallaghan@alterapraxis.com |
| Safe Haskell | None |
LibBladeRF.Gpio
Description
This module GPIO configuration handling.
- bladeRFConfigGPIORead :: DeviceHandle -> IO Word32
- bladeRFConfigGPIOWrite :: DeviceHandle -> Word32 -> IO ()
Documentation
Arguments
| :: DeviceHandle | Device handle |
| -> IO Word32 | Read data |
Read a configuration GPIO register.
Arguments
| :: DeviceHandle | Device handle |
| -> Word32 | Data to write to GPIO register |
| -> IO () |
Write a configuration GPIO register.
Callers should be sure to perform a read-modify-write sequence to avoid accidentally clearing other GPIO bits that may be set by the library internally.