
R01UH0336EJ0102 Rev.1.02
Page 405 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 13 Timer Array Unit B (TAUB)
13.4 General Operating Procedures
The following lists the general operation procedures for the TAUBn.
After reset release, the operation of each channel is stopped. Clock supply is
started and writing to each register is enabled. The control register of
TAUBnTTOUTm is also initialized and outputs a low level.
1. Set the TAUBnTPS and TAUBnBRS registers to specify the clock
frequency of CK0 to CK3.
2. Configure the desired TAUBn function:
– Set the operating mode
– Set the channel output mode
– Set any other control bits
3. Enable the counter by setting the TAUBnTS.TAUBnTSm bit to 1.
The counter starts to count immediately, or when an appropriate trigger is
detected, according to bit settings.
4. If desired during counting, and if possible for the configured function, stop
the counter or perform a forced restart operation.
5. To stop the function, set the TAUBnTT.TAUBnTTm bit to 1.
Note
For details on necessary control bits and the operations of individual functions,
see Section 13.12, Independent Channel Operation Functions
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...