Fujitsu FR81S Manuale Utente
FUJITSU SEMICONDUCTOR LIMITED
CONTENTS
FUJITSU SEMICONDUCTOR CONFIDENTIAL
5.6.6.
Application Notes ..................................................................................................................................... 713
5.7.
16/32-bit PWC Timer Operation..................................................................................... 714
5.7.1.
Overview ................................................................................................................................................... 716
5.7.2.
Operation during PWC Measurement .................................................................................................. 721
5.7.3.
32-bit Timer Mode Operation ................................................................................................................. 724
5.7.4.
Interrupt ..................................................................................................................................................... 726
5.7.5.
Application Notes ..................................................................................................................................... 727
CHAPTER 20: RELOAD TIMER ........................................................................................................ 729
1.
O
VERVIEW
.................................................................................................................................. 730
2.
F
EATURES
................................................................................................................................... 731
3.
C
ONFIGURATION
.......................................................................................................................... 732
4.
R
EGISTERS
................................................................................................................................. 733
4.1.
Control Status Register : TMCSR (TiMer Control and Status Register) ........................ 735
4.2.
16-bit Timer Register : TMR (16bit TiMer Register) ....................................................... 739
4.3.
16-bit Timer Reload Register A, 16-bit Timer Reload Register B : TMRLRA,
TMRLRB(16bit TiMer ReLoad Register A/B) ................................................................ 740
5.
O
PERATION
................................................................................................................................. 742
5.1.
Setting ............................................................................................................................ 743
5.1.1.
Count Source ........................................................................................................................................... 744
5.1.2.
Timer Underflow period........................................................................................................................... 745
5.1.3.
Trigger ....................................................................................................................................................... 746
5.1.4.
Gate ........................................................................................................................................................... 747
5.1.5.
Counter Operation Selection .................................................................................................................. 748
5.1.6.
TOUT Pin Level Setting .......................................................................................................................... 749
5.2.
Operation Procedure ..................................................................................................... 751
5.2.1.
Activation .................................................................................................................................................. 752
5.2.2.
Retrigger ................................................................................................................................................... 754
5.2.3.
Underflow/Reload .................................................................................................................................... 756
5.2.4.
Generation of Interrupt Requests .......................................................................................................... 757
5.2.5.
Concurrent Operation of Register Write and a Timer Activation ....................................................... 758
5.3.
Operations of Each Counter .......................................................................................... 759
5.3.1.
Single One-shot Operation ..................................................................................................................... 760
5.3.2.
Single Reload Operation ........................................................................................................................ 762
5.3.3.
Dual One-shot Operation........................................................................................................................ 764
5.3.4.
Dual Reload Operation ........................................................................................................................... 766
5.3.5.
Compare One-shot Operation ............................................................................................................... 768
5.3.6.
Compare Reload Operation ................................................................................................................... 771
5.3.7.
Capture Mode .......................................................................................................................................... 774
5.4.
Cascade Input ................................................................................................................ 777
5.5.
Priority of Concurrent Operations .................................................................................. 778
6.
A
PPLICATION
N
OTE
...................................................................................................................... 779
6.1.
Single One-shot Timer ................................................................................................... 781
6.2.
Reload Timer.................................................................................................................. 784
6.3.
PPG ............................................................................................................................... 787
6.4.
PWM .............................................................................................................................. 791
6.5.
PWC ............................................................................................................................... 794
CHAPTER 21: 32-BIT FREE-RUN TIMER ......................................................................................... 797
1.
O
VERVIEW
.................................................................................................................................. 798
2.
F
EATURES
................................................................................................................................... 799
2.1.
Functions of the 32-bit free-run timer ............................................................................ 800
2.2.
Functions of the free-run timer selector ......................................................................... 801
3.
C
ONFIGURATION
.......................................................................................................................... 802
3.1.
Configuration diagram of the 32-bit free-run timer ......................................................... 803
3.2.
Configuration diagram of the free-run timer selector ..................................................... 804
4.
R
EGISTERS
................................................................................................................................. 805
4.1.
Registers of the 32-bit free-run timer ............................................................................. 806
4.1.1.
Timer Control Register (Upper Bit) : TCCSH ....................................................................................... 807
MB91520 Series
MN705-00010-1v0-E
(19)