Count Clock Selection And Operation Mode Selection - Fujitsu F2MC-16LX Hardware Manual

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

15.3.3

Count Clock Selection and Operation Mode selection

Count clock selection and operation mode selection are described.
Count Clock Selection
Timer count clock can be selected from three types of internal clock sources by setting the RWCSR bit 7
(CKS1) and bit 6 (CKS0).
Table 15.3-1 shows the count clock selection contents.
Table 15.3-1 Count Clock Selection Contents
bit7,bit6:CKS1,CKS0
• 4-division clock of machine clock is selected for the initial value after the reset.
Note:
Select the count clock always before starting the timer.
Selects Operation Mode
Select each of operation and measurement modes by setting the PWCSR bit.
• Operation mode selection: PWCSR bit 2, 1, 0 (MOD2, MOD1, and MOD0 bits) timer mode/pulse width
• Measurement mode setting: PWCSR bit 3 (S/C bit) single measurement/continuous measurement or
Table 15.3-2 shows the setting contents of operation mode/measurement mode.
PWCSR/
4-division of Machine clock
00
B
(0.17 µs in case of machine clock of 24 MHz) [Initial value]
16-division of Machine clock
01
B
(0.67 µs in case of machine clock of 24 MHz)
32-division of Machine clock
10
B
(1.33 µs in case of machine clock of 24 MHz)
measurement mode selection, measurement edge decision, etc.
reload/one-shot selection.
Selected internal count clock
CHAPTER 15 PWC TIMER
369

Advertisement

Table of Contents
loading

Table of Contents