Portability | portable |
---|---|
Stability | provisional |
Maintainer | eocallaghan@alterapraxis.com |
Safe Haskell | None |
This module deals with Gain control.
- bladeRFSetTXVGA2 :: DeviceHandle -> Int -> IO (BladeRFReturnType ())
- bladeRFGetTXVGA2 :: DeviceHandle -> IO Int
- bladeRFSetTXVGA1 :: DeviceHandle -> BladeRFVGAGainBounds -> IO (BladeRFReturnType ())
- bladeRFGetTXVGA1 :: DeviceHandle -> IO Int
- bladeRFSetRXVGA2 :: DeviceHandle -> BladeRFVGAGainBounds -> IO (BladeRFReturnType ())
- bladeRFGetRXVGA2 :: DeviceHandle -> IO Int
- bladeRFSetRXVGA1 :: DeviceHandle -> BladeRFVGAGainBounds -> IO (BladeRFReturnType ())
- bladeRFGetRXVGA1 :: DeviceHandle -> IO Int
- bladeRFSetLNAGain :: DeviceHandle -> BladeRFLNAGain -> IO (BladeRFReturnType ())
- bladeRFGetLNAGain :: DeviceHandle -> IO BladeRFLNAGain
- bladeRFSetGain :: DeviceHandle -> BladeRFModule -> Int -> IO (BladeRFReturnType ())
set,get TxVGA2
:: DeviceHandle | Device handle |
-> Int | Desired gain |
-> IO (BladeRFReturnType ()) |
Set the PA gain in dB.
set,get TxVGA1
:: DeviceHandle | Device handle |
-> BladeRFVGAGainBounds | Desired gain |
-> IO (BladeRFReturnType ()) |
Set the post-LPF gain in dB.
:: DeviceHandle | Device handle |
-> IO Int | Returned gain |
Get the post-LPF gain in dB.
set,get RxVGA2
:: DeviceHandle | Device handle |
-> BladeRFVGAGainBounds | Desired gain |
-> IO (BladeRFReturnType ()) |
Set the post-LPF VGA gain.
:: DeviceHandle | Device handle |
-> IO Int | Returned set gain level |
Get the post-LPF VGA gain.
set,get RxVGA1
:: DeviceHandle | Device handle |
-> BladeRFVGAGainBounds | Desired gain |
-> IO (BladeRFReturnType ()) |
Set the pre-LPF VGA gain.
:: DeviceHandle | Device handle |
-> IO Int | Returned set gain level |
Get the pre-LPF VGA gain.
set,gain LNA Gain
:: DeviceHandle | Device handle |
-> BladeRFLNAGain | Desired gain level |
-> IO (BladeRFReturnType ()) |
Set LNA Gain.
:: DeviceHandle | Device handle |
-> IO BladeRFLNAGain | Returned set gain level |
Get LNA Gain.
Optimal gain control
:: DeviceHandle | Device handle |
-> BladeRFModule | Module |
-> Int | Desired gain |
-> IO (BladeRFReturnType ()) |
Set a combined pre and post LPF RX gain.
This action computes the optimal LNA, RXVGA1, and RVGA2 gains for a requested amount of RX gain, and computes the optimal TXVGA1 and TXVGA2 gains for a requested amount of TX gain