Hardware Abstraction Layer for FreeRTOS
pwm.h File Reference
#include <FreeRTOS.h>
#include <stdint.h>
#include <stdbool.h>
#include <system.h>
#include <hal.h>
Include dependency graph for pwm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pwm_generic
 

Functions

struct pwm * pwm_init (uint32_t index)
 
int32_t pwm_deinit (struct pwm *pwm)
 
int32_t pwm_setPeriod (struct pwm *pwm, uint64_t us)
 
int32_t pwm_setDutyCycle (struct pwm *pwm, uint64_t us)