X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Fpwm.h;fp=betty%2Fpwm.h;h=0d70f2d997fcbb3608006900597d52c0fdfcfbd3;hp=9d1903f82b30018f206a37632c584915c62f3e0c;hb=6a1c483e9c2da2e1affde2a7f3b40ff1c3b09a5f;hpb=7b41aeaf8484608d0306ac1218ad1484dfd7052c diff --git a/betty/pwm.h b/betty/pwm.h index 9d1903f..0d70f2d 100644 --- a/betty/pwm.h +++ b/betty/pwm.h @@ -12,7 +12,9 @@ #include "types.h" /* macros */ -#define pwm_enable PWMTCR=0x0b +#define pwm_enable PWMTCR=0x09 +#define pwm_reset PWMTCR=0x03 +#define pwm_disable PWMTCR=0x00 /* defines */ #define PWM_SINGLE_EDGE 0x00