21.1.4.9 freqmeter_async_read
Read values from the frequency meter.
int32_t freqmeter_async_read(
struct freqmeter_async_descriptor *const descr,
uint32_t *const data,
const uint16_t length
)
Parameters
- descr
-
Type: struct freqmeter_async_descriptor Struct *const
The pointer to the frequency meter descriptor
- data
-
Type: uint32_t *const
The point to the data buffer to write data to
- length
-
Type: const uint16_t
The amount of measurements to read
Returns
Type: int32_t
Amount of bytes read