em6522 EM Microelectronic, em6522 Datasheet - Page 16
em6522
Manufacturer Part Number
em6522
Description
Mfp Version Of Em6622 Ultra Low Power Microcontroller With 4x32 Lcd Driver
Manufacturer
EM Microelectronic
Datasheet
1.EM6522.pdf
(68 pages)
- Current page: 16 of 68
- Download datasheet (2Mb)
6.2.2 Pull-up or Pull-down
Each of the input port terminals PA[3:0] has a resistor integrated which can be used either as pull-up or pull-
down resistor, depending on the selected metal mask options( ROM version only). See the port A metal mask
chapter for details. The pull resistor can be inhibited using the NoPullPA[n] bits in the register OptNoPullPA.
Table 6.2.1. Pull-up or Pull-down Resistor on Port A Inputs
* only pull-up or pull-down may be chosen on any port A terminal (one choice is excluding the other)
6.2.3 Software Test Variables
The port A terminals PA[2:0] are also used as input conditions for conditional software branches. Independent
of the OPTDebIntPA and the OPTIntEdgPA. These CPU inputs always have a debouncer.
- Debounced PA[0] is connected to CPU TestVar1.
- Debounced PA[1] is connected to CPU TestVar2.
- Debounced PA[2] is connected to CPU TestVar3.
6.2.4 Port A for 10-Bit Counter and MSC
The PA[0] and PA[3] inputs can be used as the clock input terminal for the 10 bit counter in "event count"
mode. As for the IRQ generation one can choose debouncer or direct input with the register OPTDebIntPA and
non-inverted or inverted input with the register OPTIntEdgPA. Debouncer input is always recommended.
Pad input PA[3] is also used as start/stop control for the millisecond counter. This control signal is derived from
PA[3], it is independent of the port A debouncer and edge selection. Refer also to
6.3 Port A Registers
Table 6.3.1 Register RegPA
Copyright © 2005, EM Microelectronic-Marin SA
Option mask
MPAPU[n]
Bit
3
2
1
0
pull-up
* Direct read on port A terminals
yes
yes
yes
no
no
no
R
PAData[3]
PAData[2]
PAData[1]
PAData[0]
Name
Option mask
MPAPD[n]
pull-down
yes
yes
yes
no
no
no
Reset
-
-
-
-
NoPullPA[n]
R/W
value
R*
R*
R*
R*
x
0
1
0
1
x
16
no pull-up , no pull-down
no pull-up, no pull-down
no pull-up, no pull-down
no pull-up, pull-down
pull-up, no pull-down
not allowed*
PA[3] input status
PA[2] input status
PA[1] input status
PA[0] input status
Action
Description
F igure 10.
1 1 4 H
www.emmicroelectronic.com
EM6522
with
n=0…3
Related parts for em6522
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
World?s First Fully Integrated Single-cell Battery 2.4 Ghz Transceiver
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Self Recovering Watchdog
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Failsafe Watchdog
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Reset Circuit With Fixed Delay
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Voltage Detector, High-precision
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Reset Circuit With Manual Reset
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Reset Circuit With Manual Reset And Watchdog
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Low Cost, Ultra Low-power 8-pin Mcu With 4-bit Adc And No External Component
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Mfp Version Of Em6621 Ultra Low Power Microcontroller With 4x20 Lcd Driver
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Mfp Version Of Em6603, Em6607
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Manufacturer:
EM Microelectronic - MARIN SA
Datasheet:
Part Number:
Description:
Manufacturer:
EM Microelectronic
Datasheet:
Part Number:
Description:
Manufacturer:
EM Microelectronic
Datasheet: