m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 30

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 2.2.15. Set-up procedure of event counter mode, free run type selected
Setting divide ratio
(b15)
Setting count start flag
b7
b7
Setting one-shot start flag and trigger select register
b7
Selecting event counter mode and functions
b7
Note 1: First set to “Reload type” operation. Once the first counting pulse has occurred, the timer may be changed to “Free-Run type”.
Setting up/down flag
b7
Note 2: Set the corresponding port direction register to “0”.
0
1
0
0
0
0
page 21 of 354
0
0
0
b0
b0
b0
b0
(b8)
1
b0
Timer A0 count start flag
Timer A1 count start flag
Timer A2 count start flag
Timer A3 count start flag
Timer A4 count start flag
Selection of event counter mode
Count polarity select bit
Up/down switching cause select bit
Invalid in event counter mode (i = 0, 1)
Invalid when not using two-phase pulse signal processing(i = 2 to 4)
Timer A0 up/down flag
Timer A1 up/down flag
Timer A2 up/down flag
Timer A3 up/down flag
Timer A4 up/down flag
When not using the two-phase pulse signal processing function, set the select bit to “0”.
Timer A0 event/trigger select bit
Pulse output function select bit
0 (Must always be “0” in event counter mode)
b7 b6
b7
0 : Counts external signal's falling edge
0 : Up/down flag's content
Count operation type select bit (Note 1)
0 : Down count
0 : Down count
0 : Down count
0 : Down count
0 : Down count
0 0 :
0 : Pulse is not output (TAi OUT pin is a normal port pin)
One-shot start flag [Address 0382
ONSF
Up/down flag [Address 0384
UDF
Count start flag [Address 0380
TABSR
Timer Ai mode register (i=0 to 4) [Address 0396
1 : Free-run type
TAiMR (i=0 to 4)
Input on TA0
Can be set to 0000
IN
is selected (Note 2)
b0
16
16
Timer A0 register [Address 0387
Timer A1 register [Address 0389
Timer A2 register [Address 038B
Timer A3 register [Address 038D
Timer A4 register [Address 038F
to FFFF
]
Start count
16
]
16
]
16
b7
16
to 039A
16
]
16
16
16
16
16
, 0386
, 0388
, 038E
, 038A
, 038C
b0
Timer A2 event/trigger select bit
Timer A1 event/trigger select bit
Timer A3 event/trigger select bit
Timer A4 event/trigger select bit
b1 b0
b3 b2
b5 b4
b7 b6
Trigger select register [Address 0383
TRGSR
0 0 :
0 0 :
0 0 :
0 0 :
16
16
16
16
16
] TA0
] TA1
] TA4
] TA2
] TA3
Input on TA2
Input on TA1
Input on TA3
Input on TA4
IN
IN
IN
IN
is selected (Note 2)
is selected (Note 2)
is selected (Note 2)
is selected (Note 2)
16
]
2. Timer A

Related parts for m5m51016btp