Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.369 kB
#ifndef _PWM_H
#define _PWM_H
#include "beaglebone.h"
typedef const struct {
channel_tag tag;
const char* device_path;
unsigned int frequency;
} pwm_config_record;
extern int pwm_init( void);
extern int pwm_config( pwm_config_record* pconfig_data, int nr_config_items);
extern int pwm_set_output( channel_tag pwm_channel, unsigned int percentage);
#endif
Jump to Line
Something went wrong with that request. Please try again.