Contents
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 11
CHAPTER 2-2: Peripheral Clock Gating .................................................................................................. 81
1. Peripheral Clock Gating Overview ................................................................................................. 82
2. Peripheral Clock Gating Configuration........................................................................................... 85
3. Peripheral Clock Gating Control .................................................................................................... 87
3.1. Peripheral Clock Control Procedures ............................................................................... 88
4. Peripheral Clock Gating Function Registers .................................................................................. 91
4.1. Peripheral Function Clock Control Register 0 (CKEN0) ................................................... 92
4.2. Peripheral Reset Control Register 0 (MRST0).................................................................. 95
4.3. Peripheral Clock Control Register 1 (CKEN1) .................................................................. 97
4.4. Peripheral Function Reset Control Register 1 (MRST1) ................................................... 99
4.5. Peripheral Clock Control Register 2 (CKEN2) ................................................................ 101
4.6. Peripheral Function Reset Control Reset 2 (MRST2) ..................................................... 105
5. Peripheral Clock Gating Function Usage Precautions ................................................................. 109
CHAPTER 2-3: High-Speed CR Trimming ............................................................................................. 113
1. High-Speed CR Trimming Function Overview ............................................................................. 114
2. High-Speed CR Trimming Function Configuration and Block Diagram ....................................... 115
3. High-Speed CR Trimming Function Operation ............................................................................ 116
4. High-Speed CR Trimming Function Setup Procedure Example .................................................. 117
5. High-Speed CR Trimming Function Register List ........................................................................ 124
5.1. High-speed CR oscillation Frequency Division Setup Register (MCR_PSR) ................. 125
5.2. High-speed CR oscillation Frequency Trimming Register (MCR_FTRM) ....................... 126
5.3. High-speed CR Oscillation Temperature Trimming Setup Register (MCR_TTRM) ........ 127
5.4. High-Speed CR Oscillation Register Write-Protect Register (MCR_RLR) ...................... 128
6. High-Speed CR Trimming Function Usage Precautions .............................................................. 129
CHAPTER 2-4: Low-speed CR Prescaler ............................................................................................... 131
1. Low-speed CR Prescaler Overview ............................................................................................. 132
2. Low-speed CR Prescaler Configuration....................................................................................... 133
3. Low-speed CR Prescaler Operation and Setup Procedure Example .......................................... 134
4. Low-speed CR Prescaler Register .............................................................................................. 137
4.1. Low-speed CR Prescaler Control Register (LCR_PRSLD) ............................................ 138
CHAPTER 3: Clock supervisor ............................................................................................................... 139
1. Overview ...................................................................................................................................... 140
2. Configurations and Block Diagrams ............................................................................................ 141
3. Explanation of Operations ........................................................................................................... 143
4. Setup Procedure Examples ......................................................................................................... 144
5. Operation Examples .................................................................................................................... 146
6. Registers ..................................................................................................................................... 150
6.1. CSV control register (CSV_CTL) .................................................................................... 151
6.2. CSV status register (CSV_STR) ..................................................................................... 153
6.3. Frequency detection window setting register (Upper) (FCSWH_CTL) ........................... 154
6.4. Frequency detection window setting register (Lower) (FCSWL_CTL) ............................ 155
6.5. Frequency detection counter register (FCSWD_CTL) .................................................... 156
7. Usage Precautions ...................................................................................................................... 157