hlibBladeRF-0.1.0.3: Haskell binding to libBladeRF SDR library

Portabilityportable
Stabilityprovisional
Maintainereocallaghan@alterapraxis.com
Safe HaskellNone

LibBladeRF.Gpio

Description

This module GPIO configuration handling.

Synopsis

Documentation

bladeRFConfigGPIORead

Arguments

:: DeviceHandle

Device handle

-> IO Word32

Read data

Read a configuration GPIO register.

bladeRFConfigGPIOWrite

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.