31#define PWM_CHANNEL_MAX 32
44 unsigned char channels_count;
49void bitbang_pwm_init(
bitbang_pwm_t* pwm,
board* pboard,
const unsigned char channels = 8);
52void bitbang_pwm_set_duty(
bitbang_pwm_t* pwm,
const unsigned char channel,
const char duty);
53void bitbang_pwm_set_duty_f(
bitbang_pwm_t* pwm,
const unsigned char channel,
const float duty);
54void bitbang_pwm_set_pin(
bitbang_pwm_t* pwm,
const unsigned char channel,
const char pin);
55void bitbang_pwm_set_freq(
bitbang_pwm_t* pwm,
const unsigned char channel,
unsigned int freq);
Board class.
Definition board.h:111
Definition bitbang_pwm.h:43
Definition bitbang_pwm.h:33