Download Print this page

Renesas M16C/50 Series User Manual page 396

Advertisement

M16C/5L Group, M16C/56 Group
18.2.8
Time Measurement Prescaler Register j (G1TPRj) (j = 6 and 7)
Time Measurement Prescaler Register j (j = 6 and 7)
b7
The value written to this register is reflected to the internal circuit when the clock is synchronized with
the base timer count source (fBT1).
After rewriting the PR bit in the G1TMCRj register to 1 (prescaler function used) from 0 (prescaler
function not used), the first prescaler cycle may remain as n instead of being counted as (n + 1). In the
subsequent prescaler cycles, the setting value n becomes (n + 1).
18.2.9
Function Enable Register (G1FE)
Function Enable Register
b7 b6 b5 b4
b3
b2
b1
The value written to this register is reflected to the internal circuit when the clock is synchronized with
the base timer count source (fBT1). When the channel j (j = 0 to 7) function is disabled, the
corresponding pins become programmable I/O ports.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Symbol
b0
G1TPR6
G1TPR7
If the setting value is n, time measurement is performed every time a trigger
input is counted (n + 1) times.
b0
Symbol
G1FE
Bit Symbol
Bit Name
IFE0
Channel 0 function enable bit
IFE1
Channel 1 function enable bit
IFE2
Channel 2 function enable bit
IFE3
Channel 3 function enable bit
IFE4
Channel 4 function enable bit
IFE5
Channel 5 function enable bit
IFE6
Channel 6 function enable bit
IFE7
Channel 7 function enable bit
Address
02E4h
02E5h
Function
Address
02E6h
0: Channel j function disabled
1: Channel j function enabled
(j = 0 to 7)
18. Timer S
Reset Value
00h
00h
Set Value
00h to FFh
Reset Value
00h
Function
Page 359 of 803
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

loading