flinklib
flinklib: flink C library for Linux
|
flink userspace library, subdevice function "pwm". More...
Go to the source code of this file.
Functions | |
int | flink_pwm_get_baseclock (flink_subdev *subdev, uint32_t *frequency) |
Reads the base clock of a PWM subdevice. More... | |
int | flink_pwm_set_period (flink_subdev *subdev, uint32_t channel, uint32_t period) |
Sets the PWM period. More... | |
int | flink_pwm_get_period (flink_subdev *subdev, uint32_t channel, uint32_t *period) |
Gets the PWM period. More... | |
int | flink_pwm_set_hightime (flink_subdev *subdev, uint32_t channel, uint32_t hightime) |
Sets the PWM hightime. More... | |
int | flink_pwm_get_hightime (flink_subdev *subdev, uint32_t channel, uint32_t *hightime) |
Gets the PWM hightime. More... | |
flink userspace library, subdevice function "pwm".
Contains the high-level functions for a flink subdevice which realizes the function "pwm".
Definition in file pwm.c.
int flink_pwm_get_baseclock | ( | flink_subdev * | subdev, |
uint32_t * | frequency | ||
) |
int flink_pwm_get_hightime | ( | flink_subdev * | subdev, |
uint32_t | channel, | ||
uint32_t * | hightime | ||
) |
int flink_pwm_get_period | ( | flink_subdev * | subdev, |
uint32_t | channel, | ||
uint32_t * | period | ||
) |
int flink_pwm_set_hightime | ( | flink_subdev * | subdev, |
uint32_t | channel, | ||
uint32_t | hightime | ||
) |
int flink_pwm_set_period | ( | flink_subdev * | subdev, |
uint32_t | channel, | ||
uint32_t | period | ||
) |