flinklib: flink C library for Linux
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.


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".

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.

Here is the caller graph for this function:

int flink_counter_set_mode ( flink_subdev subdev,
uint8_t  mode 

Definition at line 29 of file counter.c.