Datasheet

Timers and PWM
Intel
®
Quark™ microcontroller D2000
Datasheet January 2016
350 Document Number: 333577-002EN
Table 43. PWM Timing
Characteristic Value (System Clock Cycles) Value (time)
Low Time Granularity 1 31.25ns
Low Time Range 2 to 4294967296 (2^32) 62.5ns to 134.22s
High Time Granularity 1 31.25ns
High Time Range 2 to 4294967296 (2^32) 62.5ns to 134.22s
See Section 18.3.1 for details on configuring the low and high times.
PWM Mode supports the following maskable interrupt source:
Both edges of the PWM Output signal.
In Timer Mode the timeout period can be configured as follows. This assumes a
nominal system clock frequency of 32MHz, the values, in nanoseconds, will differ if the
system clock frequency is changed.
Table 44. Timer Period
Characteristic Value (System Clock Cycles) Value (time)
Timeout Period Granularity 1 31.25ns
Timeout Period Range 0 to 4294967295 (2^32 -1 ) 0 to 134.22s
See Section 18.3.2 for details on configuring the timeout period.
Timer Mode supports the following maskable interrupt source:
Timer Expiry.
Interrupts are cleared by reading the Timer N End Of Interrupt register.
18.3 Use
18.3.1 PWM Mode
Once enabled, the counter runs in free running mode and the associated PWM Output
is set to 0.
The Low Time is determined by the Timer N Load Count register value which is loaded
into counter upon enable, once the counter decrements to 0 the associated PWM
Output toggles from 0 to 1 and the counter is loaded with the Timer N Load Count 2
register value which determines the High time.
When the counter subsequently decrements to 0 the associated PWM Output toggles
from 1 to 0 and the timer is re-loaded with the Timer N Load Count register value and
the process repeats.