User`s manual

RX62N Group, RX621 Group 3. Types and definitions
2.17. 8-bit Timer Driver
The driver functions support the use of the four 8-bit timers, providing the following operations.
1. Selection of the TMR pins for use.
2. Configuring a channel for use, using register values which have been determined elsewhere.
3. Configuring two channels as a 16-bit pair, using register values which have been determined
elsewhere.
4. Configuration for as a periodic timer, including
Automatic clock setting using frequency or period as an input.
Automatic pulse width setting, using pulse width or duty cycle as an input.
Automatic interrupt control
I/O pin control
Automatic I/O pin configuration
5. Configuration for as a one-shot timer, including
Automatic clock setting, using pulse width as an input
Automatic interrupt control
CPU sleep option
I/O pin control
Automatic I/O pin configuration
Automatic support for using two channels as a single 16-bit timer.
6. Disabling channels that are no longer required and enabling low-power mode.
7. Control of a single timer channel.
8. Control of two timer channels when configured as one 16-bit channel.
9. Control of channels in periodic mode, enabling pulse-width modulation (PWM) output.
10. Reading the registers of a single timer channel.
11. Reading the registers of a 16-bit timer channel pair.
Note: The Clock Generation Circuit must be configured before configuring any timer channel.
R20UT0084EE0112 Rev.1.12 Page 2-14
July. 16, 2014