JN-AN-1032 Using the JN5121 timers
Describes the use of the JN5121 timers (Timer0, Timer1 and the Tick Timer), as follows:
- Timer0 and Timer1 producing PWM outputs
- Using Tick Timer interrupt to change the PWM mark space ratio
- Timer0 in Capture mode
- Timer0 in Counter mode
- Timer0 generating a regular interrupt
The application note includes six programming examples covering the majority of uses for and should be read in conjunction with the Datasheet for the JN5121 and the Integrated Peripherals API Reference Manual (JN-RM-2001).
NOTE: This Application Note does not support the new SDK/Application directory of the latest toolchain release for the JN5139 and JN5121. To migrate this project to the new structure, refer to the Application Note JN-AN-1053.
The example software provided was developed using the Integrated Peripherals API, supplied free-of-charge by Jennic.
Version
1.2
7th Dec '06
Section added on 'building and downloading the application'. New Code::Blocks project files included.