Idris2Doc : Bindings.RtlSdr.Buffer

Bindings.RtlSdr.Buffer

Reexports

importpublic Bindings.RtlSdr.Raw.Buffer

Definitions

resetBuffer : PtrRtlSdrHandle->IO (EitherRTLSDR_ERROR ())
  Reset internal Hardware FIFO.

See section 11.4.2; USB_EPA_CTL in datasheet.

@h is the device handle

Totality: total
Visibility: export
recordIQ : Type
  A IQ record contains the cartesian plane coordinates upon
the circle at a given time `t`. Both `(i, q)` are encoded
as `(Int16, Int16)` for a given sample.

Totality: total
Visibility: public export
Constructor: 
MkIQ : Int16->Int16->IQ

Projections:
.iVal : IQ->Int16
.qVal : IQ->Int16

Hints:
EqIQ
NumIQ
.iVal : IQ->Int16
Totality: total
Visibility: public export
iVal : IQ->Int16
Totality: total
Visibility: public export
.qVal : IQ->Int16
Totality: total
Visibility: public export
qVal : IQ->Int16
Totality: total
Visibility: public export
readSync : PtrRtlSdrHandle->Buffer->IO (EitherRTLSDR_ERRORInt)
  Read samples from the device synchronously.

@h is the device handle
@b is a buffer to write samples to

Totality: total
Visibility: export
ReadAsyncFn : Type
  Call callback closure type signature

Totality: total
Visibility: public export
readAsync : PtrRtlSdrHandle->ReadAsyncFn->AnyPtr->Int->Int->IO (EitherRTLSDR_ERROR ())
  Read samples from the device asynchronously. This will block until
it is being canceled using `cancelAsync`.

@h is the device handle
@cbIO is the callback closure to received samples
@ctx is a user defined context to pass to the callback closure
@bn optional buffer count, buf_num * buf_len = overall buffer size
set to 0 for default buffer count (15)
@bl optional buffer length, must be multiple of 512,
should be a multiple of 16384 (URB size), set to 0
for default buffer length (16 * 32 * 512)

Totality: total
Visibility: export
cancelAsync : PtrRtlSdrHandle->IO (EitherRTLSDR_ERROR ())
  Cancel all pending asynchronous operations on the device.

@h is the device handle

Totality: total
Visibility: export