Operation - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

Chapter 41 Up/Down Counter

5.Operation

5. Operation
This section describes each operation mode for Up/Down Counter.
5.1 Timer Mode CMS[1:0]="00"
F
divided by 2
CLKP
F
divided by 8
CLKP
Reload value
CLKS, RLDE
CGSC
CSTR
Underflow
(Interrupt request)
Interrupt request enabled
(1)
An appropriate bit (Reload enable RLDE) is set.
(2)
Up/Down Counter is cleared ("0" is written to CGSC).
(3)
The software activates Up/Down Counter.
(4)
An underflow occurs.
(5)
The reload value is reloaded to Up/Down Counter.
(6)
The software clears the underflow flag.
(7)
The software enables interrupts.
(8)
Up/Down Counter counts down.
(9)
An underflow occurs. (An interrupt request has been made.)
(10)
The software clears the underflow flag.
(11)
Repeat (8) to (10).
848
Reload value
Countdown
(5)
(8)
(3)
(1)
(2)
(3)
Cleared by
(6)
software
(9)
(4)
(7)
(9)
Cleared by
(10)
software
Reload value
Interrupt
request
Cleared by
software

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents