Fujitsu FR81S User Manual

Page of 2342
 
 
 
 
FUJITSU SEMICONDUCTOR LIMITED 
CONTENTS 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
7.
 
Q&A ......................................................................................................................................... 1057
 
7.1.
 
How to Set the 0.5 Second Count Interval? ................................................................ 1058
 
7.2.
 
How to Initialize the Real-time Clock? ......................................................................... 1059
 
7.3.
 
How to Set/Update Number of Days (Day) and Time (Hour/Minute/Second)? ........... 1060
 
7.4.
 
How to Start/Stop the Count of the Real-time Clock? .................................................. 1061
 
7.5.
 
How to Confirm That the Real-time Clock Is Running? ............................................... 1062
 
7.6.
 
How to Know the Number of Days and Time? ............................................................. 1063
 
7.7.
 
How to Stop the Real-time Clock? ............................................................................... 1064
 
7.8.
 
How to Calibrate the Real-time Clock? ........................................................................ 1065
 
7.9.
 
What Are Interrupt Related Registers? ........................................................................ 1066
 
7.10.
 
What Are the Interrupt Types and How to Select Them? ............................................ 1067
 
7.11.
 
How to Enable Interrupts? ........................................................................................... 1068
 
8.
 
S
AMPLE 
P
ROGRAM
 .................................................................................................................... 1069
 
9.
 
N
OTES
 ...................................................................................................................................... 1070
 
CHAPTER 29: RTC/WDT1 CALIBRATION ...................................................................................... 1071
 
1.
 
O
VERVIEW
 ................................................................................................................................ 1072
 
2.
 
F
EATURES
 ................................................................................................................................. 1073
 
3.
 
C
ONFIGURATION
 ........................................................................................................................ 1074
 
4.
 
R
EGISTERS
 ............................................................................................................................... 1075
 
4.1.
 
Calibration Unit Control Register 0 : CUCR0 (Calibration Unit Control Register 0) .... 1076
 
4.2.
 
Sub Clock Timer Data Register : CUTD0 (Calibration Unit Timer Data register 0) ..... 1078
 
4.3.
 
Main Oscillation Timer Result Register 0 : CUTR0        (Calibration Unit Timer Result 
register 0) ................................................................................................................... 1079
 
4.4.
 
Calibration Unit Control Register 1 : CUCR1 (Calibration Unit Control Register 1) .... 1080
 
4.5.
 
CR Clock Timer Data Register : CUTD1 (Calibration Unit Timer Data register 1)....... 1082
 
4.6.
 
Main Oscillation Timer Result Register 1 : CUTR1 (Calibration Unit Timer Result register 
1) ................................................................................................................................ 1083
 
5.
 
O
PERATION
 ............................................................................................................................... 1084
 
5.1.
 
Real-Time Clock (RTC) Calibration ............................................................................. 1085
 
5.2.
 
Measurement of Errors in CR Clock ............................................................................ 1086
 
5.3.
 
Note ............................................................................................................................. 1087
 
CHAPTER 30: POWER CONSUMPTION CONTROL ..................................................................... 1089
 
1.
 
O
VERVIEW
 ................................................................................................................................ 1090
 
2.
 
F
EATURES
 ................................................................................................................................. 1091
 
3.
 
C
ONFIGURATION
 ........................................................................................................................ 1092
 
4.
 
R
EGISTERS
 ............................................................................................................................... 1094
 
4.1.
 
Standby Control Register: STBCR (STandby mode Control Register) ........................... 1095
 
4.2.
 
PMU Control Register : PMUCTLR (Power Management Unit ConTroL register) .......... 1097
 
4.3.
 
PoWeR on TiMing Control Register : PWRTMCTL (PoWeR on TiMing ConTroL register)
 .................................................................................................................................... 1098
 
4.4.
 
PMU Interrupt Flag Register 0 : PMUINTF0 (Power Management Unit INTerrupt Flag0 
register) ...................................................................................................................... 1099
 
4.5.
 
PMU Interrupt Flag Register 1 : PMUINTF1 (Power Management Unit INTerrupt Flag1 
register) ....................................................................................................................... 1100
 
4.6.
 
PMU Interrupt Flag Register 2 : PMUINTF2 (Power Management Unit INTerrupt Flag2 
register) ....................................................................................................................... 1101
 
5.
 
O
PERATION
 ................................................................................................................................ 1102
 
5.1.
 
Clock Control .................................................................................................................... 1103
 
5.1.1.
 
Division Setting ...................................................................................................................................... 1104
 
5.1.2.
 
Stopping of Unused Clocks .................................................................................................................. 1105
 
5.2.
 
List of Clocks Supplied in Low-power Consumption Mode .............................................. 1106
 
5.3.
 
Sleep Mode ...................................................................................................................... 1107
 
5.3.1.
 
CPU Sleep Mode ................................................................................................................................... 1108
 
5.3.2.
 
Bus Sleep Mode .................................................................................................................................... 1109
 
5.3.3.
 
Configuration of Sleep Mode ............................................................................................................... 1110
 
5.3.4.
 
Activation of Sleep mode ...................................................................................................................... 1111
 
5.3.5.
 
Wake Up from the Sleep Mode ............................................................................................................ 1112
 
MB91520 Series
MN705-00010-1v0-E
(23)