EM6607 EM Microelectronic, EM6607 Datasheet - Page 13

no-image

EM6607

Manufacturer Part Number
EM6607
Description
Ultra-low power microcontroller
Manufacturer
EM Microelectronic
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM6607TP16B
Quantity:
20 000
Part Number:
EM6607TP16B
Manufacturer:
NUVOTON
Quantity:
1 200
7
The EM6607 has five independent 4-bit ports, as shown in Table below
Table 11.
(*) Some options can be set also by Option register.
Table 12.
IRQedgeR :
debPAN :
debPCN :
NoWD :
7.1
The EM6607 has one 4-bit general purpose input port. Each of the input port terminals PA3..PA0 has an internal pull-
Up/Down resistor, which can be selected with mask options. Port information is directly read from the pin into a register.
On inputs PA0, PA1, PA2 and PA3 debouncers for noise rejection are added by default. For interrupt generation, either
direct input and debounced input can be chosen. With the debPAN written to 0 in the Option register all the PortA inputs are
debounced and with the debPAN bit at 1 none of the PortA inputs are debounced. With the debouncer selected the input
must be stable for two rising edges of 1024Hz or 128Hz clocks (at 32kHz). This corresponds to a worst case of 1.95ms or
15.62msec. PortA terminals PA0, PA1 and PA2 are also used as input conditions for conditional software branches as
shown on the next page:
Copyright © 2005, EM Microelectronic-Marin SA
Port
PA(0:3)
PB(0:3)
PC(0:3)
PD(0:3)
PE(0:3)
Bit
3
2
1
0
INPUT and OUTPUT ports
PortA
Input / Output Ports Overview
Option register - Option
Mode
Input
Individual input or output
(high Current)
Port input or output
Port input or Output
Individual input or output
R
Name
IRQedgeR
debPCN
debPAN
NoWD
Valid for both PortA and PortC input interrupt edge. By default interrupt are active on a falling edge. When
set to 1 the rising edge is active.
By default (after a reset) debouncers are enabled on whole PortA. Writing 1 removes the debouncers from
the PortA.
By default debouncers are enabled on whole PortC. Writing 1 removes the debouncers from the PortC.
By default Watchdog timer is On (NoWD=0). Writing 1 removes the watchdog timer.
Reset
Mask Options
Pull-Up/Down
( * )Debouncer
( * ) + or – IRQ edge
RESET combination
Nch open drain output
Pull-Up/Down on input
Pull-Up/Down
( * )+ or – IRQ edge
( * )Debouncer
Nch open drain output
Pull-Up/Down on Input
Nch open drain output
Pull-Up/Down on Input
Nch open drain output
0
0
0
0
R/W
R/W
R/W
R/W
R/W
Function(s)
Input Interrupt
Software Test Variable
PA3 input for event counter
RESET input(s)
Input or Output
PB0 for buzzer output in 24-pin version
High Current outputs
Input or Output Port
Interrupt
Input or Output Port
PD0 -SWB serial clock output
PD1 -SWB serial data output
Input or Output Port
PE0 for buzzer output in 28-pin version
Description
PortC without/with debouncer
Rising edge interrupt for portA&C
PortA without/with debouncer
WatchDog timer Off
13
www.emmicroelectronic.com
EM6607

Related parts for EM6607