From dd82aea2c9b19a1bf03432e0c25b4815ec0465b6 Mon Sep 17 00:00:00 2001 From: Neon22 Date: Tue, 4 Feb 2014 21:42:28 -0800 Subject: [PATCH] title formatting --- Timebase-calculation-and-Clock-sources.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Timebase-calculation-and-Clock-sources.md b/Timebase-calculation-and-Clock-sources.md index 196654a..4eaa1fa 100644 --- a/Timebase-calculation-and-Clock-sources.md +++ b/Timebase-calculation-and-Clock-sources.md @@ -1,6 +1,7 @@ ###Clock sources Timers get their clock source from External pins or Internal timer sources. +####External External = pins: TI1 or TI2 or ETR 1. set pin to be used: @@ -29,7 +30,7 @@ One Timer can be used as the prescaler for another. The first timer update_event, or output_compare signal is used as clock for the second. Uses TRGI to map. Counter mode is set using the TIMx_CR1 reg and CMS bits as indicated in the example below. The counter mode sets whether the update_event occurs on overflow and/or underflow of the Timer. -####Time Base generation +##Time Base generation A Timer can be used as a Time base generator. A 16bit timer can generate update_events from nanoseconds up to a few minutes. The calculation is: