toplevel.jl
AdalmPluto.libIIO_jl.C_iio_get_backend
AdalmPluto.libIIO_jl.C_iio_get_backends_count
AdalmPluto.libIIO_jl.C_iio_has_backend
AdalmPluto.libIIO_jl.C_iio_library_get_version
AdalmPluto.libIIO_jl.C_iio_strerror
AdalmPluto.libIIO_jl.C_iio_get_backend
— MethodC_iio_get_backend(index)
Retrieve the name of a given backend.
Parameters
index::UInt32
: The index corresponding to the attribute
Returns
- On success, a NULL-terminated string
- If the index is invalid, an empty string is returned
Introduced in version 0.9.
AdalmPluto.libIIO_jl.C_iio_get_backends_count
— MethodC_iio_get_backends_count()
Get the number of available backends.
Returns
- The number of available backends
Introduced in version 0.9.
AdalmPluto.libIIO_jl.C_iio_has_backend
— MethodC_iio_has_backend(backend)
Check if the specified backend is available.
Parameters
backend::String
: The name of the backend to query
Returns
- True if the backend is available, false otherwise
Introduced in version 0.9.
AdalmPluto.libIIO_jl.C_iio_library_get_version
— MethodC_iio_library_get_version()
Get the version of the libiio library.
Returns
major::Int
: The major versionminor::Int
: The minor versiongit_tag::String
: The git tag
AdalmPluto.libIIO_jl.C_iio_strerror
— MethodC_iio_strerror(error)
Get a string description of an error code.
Parameters
error::Int
: The error code