
R01UH0336EJ0102 Rev.1.02
Page 1367 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 24 Peripheral Interconnection (PIC)
24.4.1.4
Example of Operation
(1)
Operation Example of Timer Configuration
In this example, an arbitrary combination of multiple timers (from among
TAUB0, TAUJ0, TSG20, TPBA0, OSTMn, and ENCA0) that operate in
arbitrary modes is started simultaneously.
(2)
Setting Procedure
1. Initial Setting
Set the operating mode for each of the timers TAUB0, TAUJ0, TSG20,
TPBA0, OSTMn, and ENCA0 (register setting is included). (For details on
initial setting of TAUB0, TAUJ0, TSG20, TPBA0, OSTMn, and ENCA0, see
the section of each timer.)
2. Enabling Simultaneous Start
Enable simultaneous start of the target timers by setting the corresponding
bits in PIC0SSER0 and PIC0SSER2 to 1.
3. Start Trigger Output
Set the SYNCTRG bit in PIC0SST0 to 1 to start the timers selected in step
2 simultaneously.
4. Repeat steps 2 and 3 for the channels that are not yet started. This allows
each of the different target timer groups to be started simultaneously in
separate timing.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...