M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 484

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timer A Applications
Figure 3.4.2. Set-up procedure of buzzer output
Initialization of timer A0
b7
Initialization of port P7 direction register
b15
0
b7
b7
Buzzer ON
Buzzer OFF
b7
b7
b7
0
0
0F
16
0
0 0
b8
b0
1
0
b7
0
0
b0
1
b0
b0
b0
b0
0
9F
Timer A0 mode register
TA0MR [Address 0396
16
Selection of timer mode
Pulse output function select bit
Gate function select bit
0 (Must always be “0” in timer mode)
Count source select bit
Count start flag [Address 0380
TABSR
Port P7 direction register [Address 03EF
PD7
Timer A0 mode register [Address 0396
TA0MR
Timer A0 mode register [Address 0396
TA0MR
b7 b6
b4 b3
0 0 : Gate function not available
0 0 : f
Timer A0 count start flag
0 : Pulse is not output (TA0out pin is a normal port pin)
Pulse output function select bit
Port P7
Pulse output function select bit
1 : Starts counting
1 : Pulse is output (Port P7
0 : Pulse is not output
0 : Input mode
b0
1
Timer A0 register
TA0 [Address 0387
0
direction register
16
]
16
0
b7 b6
, 0386
0
0
1
1
is TA0
16
]
0
0
1
1
16
OUT
source
]
Count
f
f
f
f
16
16
1
8
32
C32
16
output pin)
]
]
]
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
f(X
IN
) : 16MH
Count source period
976.56µs
Z
62.5ns
500ns
f(Xc
2µs
IN
) : 32.768kH
Mitsubishi microcomputers
M16C / 62 Group
Z
469

Related parts for M30622MA-XXXFP