Electronic Components Datasheet Search
  English  ▼

X  

ATAM510 Datasheet(PDF) 29 Page - ATMEL Corporation

Part # ATAM510
Description  MARC4 4-bit MTP Universal Microcontroller
PDF  72 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATAM510 Datasheet(HTML) 29 Page - ATMEL Corporation

Back Button ATAM510 Datasheet HTML 25Page - ATMEL Corporation ATAM510 Datasheet HTML 26Page - ATMEL Corporation ATAM510 Datasheet HTML 27Page - ATMEL Corporation ATAM510 Datasheet HTML 28Page - ATMEL Corporation ATAM510 Datasheet HTML 29Page - ATMEL Corporation ATAM510 Datasheet HTML 30Page - ATMEL Corporation ATAM510 Datasheet HTML 31Page - ATMEL Corporation ATAM510 Datasheet HTML 32Page - ATMEL Corporation ATAM510 Datasheet HTML 33Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 72 page
background image
29
4711B–4BMCU–01/05
ATAM510
3.2.6
Bi-directional Port 6
Figure 3-5.
Bi-directional Port 6
This 2-bit bi-directional port can be used as a bit wise programmable I/O. The data is LSB
aligned so that the two MSB's will not appear on the port pins when written. The port pins can
also be used as external interrupt inputs (see Figure 3-5 and Figure 3-6 on page 31). Both inter-
rupts can be masked or independently configured to trigger on either edge. The interrupt priority
levels are also configurable. The interrupt configuration and port direction is controlled by the
Port 6 Control Register (P6CR). An additional low resistance pull-up transistor (flash option) pro-
vides an internal bus pull-up for serial bus applications.
In output mode (PxDDR bit = 0), the respective Port Data Register (PxDAT) bit appears on the
port pin, driven by an output port driver stage which can be mask programmed as open drain, or
full complementary CMOS. With an IN instruction the actual pin state can be read back into the
controller at any time without changing the port directional mode. If the output port is flash con-
figured as an open drain driver, the controller is able to receive the external data on this pin
without switching into input mode as long as the output transistor is switched off.
In input mode (PxDDR bit = 1), the output driver stage is deactivated, so that an IN instruction
will directly read the pin state which can be driven from an external source. In this case, the state
of the Port Data Register (PxDAT), although not appearing at the pin itself, remains unchanged.
High resistance mask selectable pull-up or pull-down transistors are automatically switched onto
the port pin in input mode. The Port Data Register is written to the respective port address with
an OUT instruction.
The Port 6 Data Register (P6DAT) is I/O mapped to the primary address register of address
'6'hex and the Port 6 Control Register (P6CR) to the corresponding auxiliary register. The P6CR
is a byte wide register and is written by writing the low nibble first and then the high nibble (see
section “Addressing peripherals”).
Master reset
Q
V
DD
BP6y
(1) Flash options
P6DATy
I/O Bus
D
IN enable
I/O Bus
Pull-up
Pull-down
Static
Pull-up
(Data out)
S
y = 0 or 1
Strong
4k at 5 V
(1)
Static
Pull-down
Strong
4k at 5 V
V
DD
V
DD
V
DD
(1)
(1)
(1)
(1)
(1)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com