Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATAM862 Datasheet(PDF) 35 Page - ATMEL Corporation

Part # ATAM862
Description  Microcontroller with UHF ASK/FSK Transmitter
PDF  110 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATAM862 Datasheet(HTML) 35 Page - ATMEL Corporation

Back Button ATAM862 Datasheet HTML 31Page - ATMEL Corporation ATAM862 Datasheet HTML 32Page - ATMEL Corporation ATAM862 Datasheet HTML 33Page - ATMEL Corporation ATAM862 Datasheet HTML 34Page - ATMEL Corporation ATAM862 Datasheet HTML 35Page - ATMEL Corporation ATAM862 Datasheet HTML 36Page - ATMEL Corporation ATAM862 Datasheet HTML 37Page - ATMEL Corporation ATAM862 Datasheet HTML 38Page - ATMEL Corporation ATAM862 Datasheet HTML 39Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 110 page
background image
35
4554E–4BMCU–05/06
ATAM862-3
22. Bi-directional Ports
With the exception of Port 1 and Port 6, all other ports (2, 4 and 5) are 4 bits wide. Port 1 and
Port 6 have a data width of 2 bits (bit 0 and bit 3). All ports may be used for data input or output.
All ports are equipped with Schmitt trigger inputs and a variety of mask options for open-drain,
open-source, full-complementary outputs, pull-up and pull-down transistors. All Port Data Regis-
ters (PxDAT) are I/O mapped to the primary address register of the respective port address and
the Port Control Register (PxCR), to the corresponding auxiliary register.
There are five different directional ports available:
Port 1
2-bit wide bi-directional port with automatic full bus width direction switching.
Port 2
4-bit wide bitwise-programmable I/O port.
Port 5
4-bit wide bitwise-programmable bi-directional port with optional strong
pull-ups and programmable interrupt logic.
Port 4
4-bit wide bitwise-programmable bi-directional port also provides the I/O
interface to Timer 2, SSI, voltage monitor input and external interrupt input.
Port 6
2-bit wide bitwise-programmable bi-directional port also provides the I/O
interface to Timer 3 and external interrupt input.
22.1
Bi-directional Port 1
In Port 1 the data direction register is not independently software programmable, the direction of
the complete port being switched automatically when an I/O instruction occurs (see Figure 22-1
on page 36). The port is switched to output mode via an OUT instruction and to input via an IN
instruction. The data written to a port will be stored into the output data latches and appears
immediately at the port pin following the OUT instruction. After RESET all output latches are set
to "1" and the port is switched to input mode. An IN instruction reads the condition of the associ-
ated pins.
Note:
Care must be taken when switching the bi-directional port from output to input. The capacitive pin
loading at this port in conjunction with the high resistance pull-ups may cause the CPU to read the
contents of the output data register rather than the external input state. To avoid this, one of the
following programming techniques should be used:
Use two IN instructions and DROP the first data nibble. The first IN switches the port from output
to input and the DROP removes the first invalid nibble. The second IN reads the valid pin state.
Use an OUT instruction followed by an IN instruction. Via the OUT instruction, the capacitive load
is charged or discharged depending on the optional pull-up/pull-down configuration. Write a "1" for
pins with pull-up resistors and a "0" for pins with pull-down resistors.



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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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