#include <aversive.h>
#include <aversive/timers.h>
#include <aversive/parts.h>
#include <pwm_config.h>
Go to the source code of this file.
Defines | |
#define | PWM_NORMAL 0x00 |
#define | PWM_REVERSE 0x01 |
#define | PWM_SIGN_INVERTED 0x02 |
#define | PWM_SIGNED 0x04 |
#define | PWM_SPECIAL_SIGN_MODE 0x08 |
#define | PWM_MAX ((1<< PWM_SIGNIFICANT_BITS)-1) |
#define | PWM_MIN (-PWM_MAX) |
Functions | |
void | pwm_init (void) |
void | pwm_set (void *data, int32_t value) |
Definition in file pwm.h.
#define PWM_MAX ((1<< PWM_SIGNIFICANT_BITS)-1) |
value to be used for limiting inputs
Definition at line 54 of file pwm.h.
Referenced by pwm_ng_set(), and SIGNAL().
#define PWM_MIN (-PWM_MAX) |
void pwm_init | ( | void | ) |
void pwm_set | ( | void * | data, | |
int32_t | value | |||
) |