Portability | portable |
---|---|
Stability | provisional |
Maintainer | eocallaghan@alterapraxis.com |
Safe Haskell | None |
This module GPIO configuration handling.
- bladeRFConfigGPIORead :: DeviceHandle -> IO Word32
- bladeRFConfigGPIOWrite :: DeviceHandle -> Word32 -> IO ()
Documentation
:: DeviceHandle | Device handle |
-> IO Word32 | Read data |
Read a configuration GPIO register.
:: 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.