m3819 Renesas Electronics Corporation., m3819 Datasheet - Page 164

no-image

m3819

Manufacturer Part Number
m3819
Description
Mitsubishi 8-bit Single-chip Microcomputer 740 Family / 38000 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m38197EAFP
Manufacturer:
QFP
Quantity:
20 000
Part Number:
m38197MA-160FP
Manufacturer:
RENESAS
Quantity:
4
Part Number:
m38197MAA-608FP
Manufacturer:
MIT
Quantity:
136
Part Number:
m38197MAA-608FP
Manufacturer:
MIT
Quantity:
1 000
Part Number:
m38197MAA-608FP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m38197MAA-625FP
Manufacturer:
SEMTECH
Quantity:
300
Part Number:
m38197MAA-639FP
Manufacturer:
RENESAS
Quantity:
756
Part Number:
m38198MCA-834FP
Manufacturer:
RENESAS
Quantity:
52
Part Number:
m38199MF-065FP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
m38199MF-205FP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
m38199MF-289FP
Manufacturer:
MITSUSHITA
Quantity:
20 000
2. APPLICATION
Fig. 2.7.6 Setting of related registers [Clock count using ZCR interrupt (without using a noise filter)]
150
2.7.3 Zero cross detection circuit application example 1
Clock count using ZCR interrupt (without using a noise filter)
Figure 2. 7. 6 shows a setting of related registers.
Outline : The clock is counted up every second by using the ZCR interrupts.
Specifications : • The noise filter is not used.
IREQ1
ICON1
IREQ1
ZCRCON
INTEDGE
Note :
Interrupt request register 1 (Address:3C
Interrupt control register 1 (Address:3E
Interrupt request register 1 (Address:3C
When changing the values of bit 0 of the zero cross detection control register and bit 1 of the
interrupt edge selection register, make sure the following contents.
1. During changeing, set bit 1 of the interrupt control register 1 to “0”.
2. After changeing, set bit 1 of the interrupt request register 1 to “0”.
Zero cross detection control register (Address:39
Interrupt edge selection register (Address:3A
• The commercial frequency (50 Hz or 60 Hz) is input.
• The clock is counted up by using the ZCR interrupts.
0 0
0
1
0
3819 Group USER’S MANUAL
1
2.7 Zero cross detection circuit
ZCR active edge : Falling edge active ( Note)
INT
ZCR interrupt request
Passing through the zero cross detection circuit ( Note)
Noise filter sampling clock : without using a noise filter
Set the INT
1
/ZCR interrupt : Enabled
16
16
16
)
)
)
1
/ZCR interrupt request bit to “0”
16
)
16
)
MITSUBISHI MICROCOMPUTER
3819 Group

Related parts for m3819