![]() |
flinklib
flinklib: flink C library for Linux
|
flink userspace library, subdevice function "watchdog". More...

Go to the source code of this file.
Functions | |
| int | flink_wd_get_baseclock (flink_subdev *subdev, uint32_t *base_clk) |
| Reads the base clock of a watchdog subdevice. More... | |
| int | flink_wd_get_status (flink_subdev *subdev, uint8_t *status) |
| Reads the status word of a watchdog subdevice. More... | |
| int | flink_wd_set_counter (flink_subdev *subdev, uint32_t counter) |
| Presets the watchdog counter. More... | |
| int | flink_wd_arm (flink_subdev *subdev) |
| Starts the watchdog counter. More... | |
flink userspace library, subdevice function "watchdog".
Contains the high-level functions for a flink subdevice which realizes the function "watchdog".
Definition in file wd.c.
| int flink_wd_arm | ( | flink_subdev * | subdev | ) |
| int flink_wd_get_baseclock | ( | flink_subdev * | subdev, |
| uint32_t * | base_clk | ||
| ) |
| int flink_wd_get_status | ( | flink_subdev * | subdev, |
| uint8_t * | status | ||
| ) |
| int flink_wd_set_counter | ( | flink_subdev * | subdev, |
| uint32_t | counter | ||
| ) |