contents
v
Chapter 5
Prescaler
5-1
Overview .................................................................................................................. V - 2
5-1-1
Peripheral Functions ............................................................................... V - 3
5-1-2
Block Diagram ....................................................................................... V - 4
5-2
Control Registers ..................................................................................................... V - 5
5-2-1
Registers List .......................................................................................... V - 5
5-2-2
Control Registers .................................................................................... V - 6
5-3
Operation ............................................................................................................... V - 10
5-3-1
Operation .............................................................................................. V - 10
5-3-2
Setup Example ...................................................................................... V - 11
Chapter 6
8-bit Timers
6-1
Overview ................................................................................................................. VI - 2
6-1-1
Functions ............................................................................................... VI - 2
6-1-2
Block Diagram ...................................................................................... VI - 3
6-2
Control Registers .................................................................................................... VI - 6
6-2-1
Registers ................................................................................................ VI - 6
6-2-2
Programmable Timer Registers ............................................................. VI - 8
6-2-3
Timer Mode Registers ......................................................................... VI - 10
6-3
Operation .............................................................................................................. VI - 15
6-3-1
Operation ............................................................................................. VI - 15
6-3-2
Setup Example ..................................................................................... VI - 17
6-4
8-bit Event Count ................................................................................................. VI - 19
6-4-1
Operation ............................................................................................. VI - 19
6-4-2
Setup Example ..................................................................................... VI - 21
6-5
8-bit Timer Pulse Output ...................................................................................... VI - 23
6-5-1
Operation ............................................................................................. VI - 23
6-5-2
Setup Example ..................................................................................... VI - 24
6-6
8-bit PWM Output ................................................................................................ VI - 26
6-6-1
Operation ............................................................................................. VI - 26
6-6-2
Setup Example ..................................................................................... VI - 28
6-6-3
PWM Output With Additional Pulse................................................... VI - 30
6-7
Synchronous Output ............................................................................................. VI - 32
6-7-1
Operation ............................................................................................. VI - 32
6-7-2
Setup Example ..................................................................................... VI - 33
6-8
Serial Transfer Clock Output ............................................................................... VI - 35
6-8-1
Operation ............................................................................................. VI - 35
6-8-2
Setup Example ..................................................................................... VI - 36
6-9
Simple Pulse Width Measurement ....................................................................... VI - 38
6-9-1
Operation ............................................................................................. VI - 38
6-9-2
Setup Example ..................................................................................... VI - 39