- x -
Contents
Fig. No. Title, Page
7-16 Example of Rewriting Compare Register CR00.........................................................................124
7-17 Example of PWM Output Signal with a 100% Duty Factor......................................................124
7-18 Example of PPG Output Using TM0 ...........................................................................................125
7-19 PPG Output When CR00 = CR01..................................................................................................12 6
7-20 PPG Output When CR00 = 0000H................................................................................................ 126
7-21 Example of Rewriting Compare Register CR00.........................................................................12 7
7-22 Example of PPG Output Signal with a 100% Duty Factor........................................................127
7-23 Example of PPG Output Period Made Longer........................................................................... 128
7-24 Timing of Interval Timer Operation (1) ......................................................................................129
7-25 Setting of Control Registers for Interval Timer Operation (1) ................................................130
7-26 Setting Procedure for Interval Timer Operation (1)..................................................................130
7-27 Interrupt Request Handling for Interval Timer Operation (1)..................................................131
7-28 Timing of Interval Timer Operation (2) ......................................................................................131
7-29 Setting of Control Registers for Interval Timer Operation (2) ................................................132
7-30 Setting Procedure for Interval Timer Operation (2)..................................................................132
7-31 Timing of Pulse Width Measurement......................................................................................... 133
7-32 Setting of Control Registers for Pulse Width Measurement................................................... 133
7-33 Setting Procedure for Pulse Width Measurement ....................................................................134
7-34 Interrupt Request Handling for Pulse Width Calculation......................................................... 134
7-35 Example of PWM Signal Output by 16-Bit Timer/Counter ......................................................135
7-36 Setting of Control Registers for PWM Output Operation ........................................................135
7-37 Setting Procedure for PWM Output............................................................................................ 136
7-38 Changing Duty Factor of PWM Output.......................................................................................13 6
7-39 Example of PPG Signal Output by 16-Bit Timer/Counter ........................................................137
7-40 Setting of Control Registers for PPG Output Operation ..........................................................137
7-41 Setting Procedure for PPG Output.............................................................................................. 138
7-42 Changing Duty Factor of PPG Output.........................................................................................13 8
7-43 Block Diagram of 8-Bit Timer/Counter 1 ....................................................................................141
7-44 Format of Timer Control Register 1 (TMC1).............................................................................. 143
7-45 Format of Prescaler Mode Register 1 (PRM1) ...........................................................................144
7-46 Format of Capture/Compare Control Register 1 (CRC1) ..........................................................144
7-47 Basic Operation of 8-Bit Timer 1 (TM1)......................................................................................145
7-48 TM1 Cleared by a Coincidence with Compare Register (CR1m) ............................................146
7-49 TM1 Cleared after Capture Operation ........................................................................................147
7-50 Clear Operation When the CE1 Bit Is Reset to 0....................................................................... 147
7-51 Compare Operation.......................................................................................................................14 9
7-52 TM1 Cleared After a Coincidence Is Detected........................................................................... 149
7-53 Capture Operation......................................................................................................................... 150
7-54 TM1 Cleared after Capture Operations ......................................................................................151
7-55 Timing of Interval Timer Operation (1) ......................................................................................152
7-56 Setting of Control Registers for Interval Timer Operation (1) ................................................152
7-57 Setting Procedure for Interval Timer Operation (1)..................................................................153
7-58 Interrupt Request Handling for Interval Timer Operation (1)..................................................153
7-59 Timing of Interval Timer Operation (2) ......................................................................................154
7-60 Setting of Control Registers for Interval Timer Operation (2) ................................................154
7-61 Setting Procedure for Interval Timer Operation (2)..................................................................155