libpynq (release 5EWC0-2023 version 0.2.0 of 2023-08-28 20:33)
Loading...
Searching...
No Matches
pwm.c File Reference
#include <pwm.h>
Include dependency graph for pwm.c:

Go to the source code of this file.

Functions

bool pwm_initialized (const int pwm)
 
void pwm_init (const int pwm, const uint32_t period)
 
void pwm_destroy (const int pwm)
 
void pwm_set_duty_cycle (const int pwm, const uint32_t duty)
 
void pwm_set_period (const int pwm, const uint32_t period)
 
uint32_t pwm_get_period (const int pwm)
 
uint32_t pwm_get_duty_cycle (const int pwm)
 
void pwm_set_steps (const int pwm, const uint32_t steps)
 
uint32_t pwm_get_steps (const int pwm)