#ifndef __PWM_H__
#define __PWM_H__

extern void pwm_open(void);

extern off_t pwm_lseek(off_t offset, int whence);

extern ssize_t pwm_read(void *buf, size_t count);

extern ssize_t pwm_write(const void *buf, size_t count);

struct pwm_file
{
	float freq;
	float setup;
	float hold;
	bool inv;
};

#endif
