CHAPTER 2-2: Clock Gating
98 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
[bit11:8] MFTCK[3:0]: Settings for operation clock supply and gating of multi-function
timer and PPG
These bits control the operation clock supply and gating to the multi-function timer and PPG. The
correspondence among each bit, the multi-function timer unit, and the PPG channel is shown below.
bit8 - MFTCK0: Multi-function timer unit 0 - PPG channel 0 to channel 7
bit9 - MFTCK1: Multi-function timer unit 1 - PPG channel 8 to channel 15
bit10 - MFTCK2: Multi-function timer unit 2 - PPG channel 16 to channel 23
bit11 - MFTCK3: Multi-function timer unit 3 - PPG channel 24 to channel 31
When the relevant bit is set to 1, the bus clock is supplied to corresponding multi-function timer unit and
PPG channel to use the multi-function timer and PPG function. For products to which the relevant
multi-function timer unit and PPG channels is not mounted, it is prohibited to change the relevant bit from
the initial value.
When the relevant bit is set to 0, the bus clock input to the corresponding multi-function timer unit and
PPG channels is gated. While the bus clock is gated, the relevant multi-function timer and PPPG function
cannot be used.
The bus clock input to the multi-function timer unit and the PPG channel corresponding to the relevant
bit is gated.
The bus clock is supplied to the multi-function timer unit and the PPG channel corresponding to the
relevant bit. (Initial value)
[bit7:4] Reserved: Reserved bits
Write 0 to these bits.
[bit3:0] BTMCK[3:0]: Settings operation clock supply and gating to base timer
These bits control the operation clock supply and gating to the base timer. The correspondence between
each bit and the base timer channel is shown below.
bit0 - BTMCK0: Base timer channel 0, 1, 2, 3
bit1 - BTMCK1: Base timer channel 4, 5, 6, 7
bit2 - BTMCK2: Base timer channel 8, 9, 10, 11
bit3 - BTMCK3: Base timer channel 12, 13, 14, 15
When the relevant bit is set to 1, the bus clock is supplied to the corresponding base timer channel to use
the base timer not change the relevant bit from the initial value.
When 0 is set to the relevant bit, the bus clock input to the corresponding base timer channel is gated.
While the bus clock input is gated, the base timer function of the corresponding channel cannot be used.
The bus clock input to the base timer channel corresponding to the relevant bit is gated.
The bus clock is supplied to the base timer channel corresponding to the relevant bit.
(Initial value)