libpynq (release 5EWC0-2023 version 0.1.0 of 2023-08-14 14:01)
|
#include <libpynq.h>
Go to the source code of this file.
Enumerations | |
enum | pwm_index_t { PWM0 , PWM1 , PWM2 , PWM3 , PWM4 , PWM5 , NUM_PWM } |
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) |