]> hackdaworld.org Git - my-code/arm.git/blobdiff - betty/pwm.h
bullshit commit, sync for travel (to zn00H!) :)
[my-code/arm.git] / betty / pwm.h
index 9d1903f82b30018f206a37632c584915c62f3e0c..0d70f2d997fcbb3608006900597d52c0fdfcfbd3 100644 (file)
@@ -12,7 +12,9 @@
 #include "types.h"
 
 /* macros */
 #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
 
 /* defines */
 #define PWM_SINGLE_EDGE                0x00