summaryrefslogtreecommitdiff
path: root/n/es-2006/src/timer_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'n/es-2006/src/timer_1.c')
-rw-r--r--n/es-2006/src/timer_1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/n/es-2006/src/timer_1.c b/n/es-2006/src/timer_1.c
index cbbe1e7..97b29fd 100644
--- a/n/es-2006/src/timer_1.c
+++ b/n/es-2006/src/timer_1.c
@@ -29,15 +29,15 @@ inline void
timer1_init (void)
{
/* Initialisation of timer/counter 1 control register A :
- * - pwm : TODO Fast PWM 10 bits.
+ * - pwm : TODO Complete it please !
*/
TCCR1A =
regv (COM1A1, COM1A0, COM1B1, COM1B0, COM1C1, COM1C0, WGM11, WGM10,
- 0, 0, 0, 0, 0, 0, 1, 1 );
+ 1, 0, 1, 0, 1, 0, 1, 1 );
/* Initialisation of timer/counter 1 control register B :
* - shared : 1 for prescaling ;
* - rvb : noise canceler, IC on falling edge ;
- * - pwm : TODO Fast PWM 10 bits.
+ * - pwm : Fast PWM 10 bits.
*/
TCCR1B = regv (ICNC1, ICES1, 5, WGM13, WGM12, CS12, CS11, CS10,
1, 0, 0, 0, 1, 0, 0, 1 );