From 2b58e360657a1132e0fac3fa6a6046b18fb6c8f4 Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Sun, 17 Dec 2017 13:19:14 +1300 Subject: [PATCH] Add documentation --- src/modules/timer/timer8.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/timer/timer8.rs b/src/modules/timer/timer8.rs index fa09717..15bfb98 100644 --- a/src/modules/timer/timer8.rs +++ b/src/modules/timer/timer8.rs @@ -36,14 +36,21 @@ pub trait Timer8 : Sized { /// For example, TIFR0. type InterruptFlag: Register; + /// Bit 0 of the clock select mask. const CS0: Mask; + /// Bit 1 of the clock select mask. const CS1: Mask; + /// Bit 2 of the clock select mask. const CS2: Mask; + /// Bit 0 of the waveform generation mode mask. const WGM0: Mask; + /// Bit 1 of the waveform generation mode mask. const WGM1: Mask; + /// Bit 2 of the waveform generation mode mask. const WGM2: Mask; + /// Output compare interrupt enable flag. const OCIEA: Mask; }