m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 315

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 3.4.1. Set-up procedure of solution for a shortage of external interrupt pins
Initialization of timer A0
b7
0
Initialization of port P7 direction register
Setting interrupt priority levels in timer A0
b15
b7
b7
b7
b7
b7
b7
0 0
Note: Set the corresponding port direction register to “0”.
page 306 of 354
0
0
00
0
16
0
0 0
b8
b0
0
b7
0
b0
1
b0
b0
b0
0
b0
b0
1
00
Setting interrupt enable flag (I flag)
Timer A0 mode register
TA0MR [Address 0396
Selection of event counter mode
Pulse output function select bit
Count polarity select bit
Up/down switching cause select bit
0 (Must always be “0” in event counter mode)
Count operation type select bit
When not using two-phase pulse signal processing, set this bit to “0”
16
0 : Pulse is not output (TA0out pin is a normal port pin)
0 : Counts external signal's falling edge
0 : Up/down flag's content
0 : Reload type
Reserved bit (Must always be “0” )
Timer A0 up/down flag
Timer A0 event/trigger select flag
Port P7 direction register [Address 03EF
PD7
b7 b6
Up/down flag [Address 0384
UDF
One shot start flag [Address 0382
ONSF
0 : Down count
Count start flag [Address 0380
TABSR
0 0 : Input on TA0
Interrupt control level (set a value 1 to 7)
Timer A0 interrupt control register [Address 0054
TA0IC
Port P7
Timer A0 count start flag
0 : Input mode
1 : Starts counting
b0
1
Timer A0 register
TA0 [Address 0387
direction register
IN
16
is selected (Note 1)
]
16
16
, 0386
]
16
]
16
]
16
]
16
]
16
]
3. Timer A Applications

Related parts for m5m51016btp