flinklib
flinklib: flink C library for Linux
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
counter.c File Reference

flink userspace library, subdevice function "counter". More...

#include "flinklib.h"
#include "types.h"
#include "error.h"
#include "log.h"
Include dependency graph for counter.c:

Go to the source code of this file.

Functions

int flink_counter_set_mode (flink_subdev *subdev, uint8_t mode)
 
int flink_counter_get_count (flink_subdev *subdev, uint32_t channel, uint32_t *data)
 

Detailed Description

flink userspace library, subdevice function "counter".

Contains the high-level functions for a flink subdevice which realizes the function "counter".

Author
Martin Züger

Definition in file counter.c.

Function Documentation

int flink_counter_get_count ( flink_subdev subdev,
uint32_t  channel,
uint32_t *  data 
)

Definition at line 35 of file counter.c.

int flink_counter_set_mode ( flink_subdev subdev,
uint8_t  mode 
)

Definition at line 29 of file counter.c.