EM6580SO14A EMMICRO [EM Microelectronic - MARIN SA], EM6580SO14A Datasheet - Page 15

no-image

EM6580SO14A

Manufacturer Part Number
EM6580SO14A
Description
Ultra Low Power 8-pin Flash Microcontroller
Manufacturer
EMMICRO [EM Microelectronic - MARIN SA]
Datasheet
6. Input and Output port A
The EM6580 has:
- port PA[3:0], one 4-bit input/output port
- port PA[4], one 1 bit input port.
- port PA[5], one 1 bit input/output. (not available in 8-pin package).
Pull-up and Pull-down resistors can be added to all these ports with register options.
6.1 Input / Output Port Overview
Table 6.1.1 Input and Output port overview
Pin in 8pin package
General I/O
Serial interface
WakeUp on change
Softw. pullUp/Down
Register option pullUp/Down
Timer input
Irq debounce & edge select.
CPU soft. variable input
Analogue compare Input
External reset input
External CPU clock input
PWM timer out
freq. Output (RC, 2kHz, 1Hz)
CPU reset condition
NC* – Pad PA[5] is Not Connected in 8-pin package, available on 14-pin and in die form
Register option –
As shown in Figure 10, Logic for the Wake up on change reset which is possible only from Sleep mode,
Debouce and IRQ function on Rising or falling edge are implemented only twice but can be attached and
configured by registers to 4 different pads when used as inputs.
Ports PA[0] and PA[5] can be configured to have wakeup on Change, and debounced or non-debounced IRQ
on the falling or rising edge. The same function is available on ports PA[3] or PA[4] which in addition can be
dedicated to input reset . Registers RegPACntl1 and RegPACntl2 make this selection.
Table 6.1.2 Register RegPACntl1
Table 6.1.3 Register RegPACntl2
Copyright © 2006, EM Microelectronic-Marin SA
Bit
Bit
3
2
1
0
3
2
1
0
DebounceNoPA[3/4]
DebounceNoPA[0/5]
* Default is debouncer On and Rising edge for IRQ
* Default: No wake Up on change and IRQ source, or reset and timer input, would be PA[3], PA[0]
EdgeFallingPA[3/4]
EdgeFallingPA[0/5]
WUchEnPA[3/4]
WUchEnPA[0/5]
IrqPA[3l/4h]
IrqPA[0l/5h]
R
Name
Name
Refer to RegMFP1 table chapter
PA[0]
yes O
yes* I
yes* I
yes* I
Sin I
Yes
I/O
--
--
--
--
--
--
--
1
POR
POR
0
0
0
0
0
0
0
0
Sclk I/O
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PA[1]
yes O
yes I
yes I
yes
I/O
--
--
--
--
--
--
--
--
2
1 4.8
9 8 H
IRQ edge selector for interrupt from PA[3/4] input
IRQ edge selector for interrupt from PA[0/5] input
Sout O
yes* O
PA[2]
yes O
yes
I/O
Wake/Up on change EN on PA[3] or PA[4]
Wake/Up on change EN on PA[0] or PA[5]
PA[3] if Low / PA[4] if High for IRQ source
PA[0] if Low / PA[5] if High for IRQ source
Debounce on when Low for PA[3/4] input
Debounce on when Low for PA[0/5] input
15
--
--
--
--
--
--
--
--
3
--
Rdy/CS O
PA[3]
yes* I
yes* I
yes* I
yes* I
yes* I
yes
I/O
4
--
--
--
--
--
--
Description
Description
PA[4]
yes* I
yes* I
yes* I
yes* I
yes* I
yes I
yes
yes
--
--
--
--
--
6
I
www.emmicroelectronic.com
EM6580
PA[5]*
yes* O
yes* I
yes* I
yes* I
NC*
yes
I/O
--
--
--
--
--
--
--
--

Related parts for EM6580SO14A