Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

SX28AC/DP Datenblatt(PDF) 10 Page - Parallax Inc

Teilenummer SX28AC/DP
Bauteilbeschribung  Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  PARALLAX [Parallax Inc]
Direct Link  https://www.parallax.com/
Logo PARALLAX - Parallax Inc

SX28AC/DP Datenblatt(HTML) 10 Page - Parallax Inc

Back Button SX28AC/DP Datasheet HTML 6Page - Parallax Inc SX28AC/DP Datasheet HTML 7Page - Parallax Inc SX28AC/DP Datasheet HTML 8Page - Parallax Inc SX28AC/DP Datasheet HTML 9Page - Parallax Inc SX28AC/DP Datasheet HTML 10Page - Parallax Inc SX28AC/DP Datasheet HTML 11Page - Parallax Inc SX28AC/DP Datasheet HTML 12Page - Parallax Inc SX28AC/DP Datasheet HTML 13Page - Parallax Inc SX28AC/DP Datasheet HTML 14Page - Parallax Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 51 page
background image
Parallax SX20AC/SX28AC
www.parallax.com
© Parallax Inc.
Page 10 of 51
Rev 1.6 11/20/2006
Figure 3-2
Port B, Port C
Configuration
For example, suppose all four Port A pins are configured
as outputs and you wish to set RA0 and RA1 high, and
RA2 and RA3 low:
mov W,#$03
;load W with the value 03h
;(bits 0 and 1 high)
mov $05,W
;write 03h to Port A data
;register
The second “mov” instruction in this example writes the
Port A data register (RA), which controls the output levels
of the four Port A pins, RA0 through RA3. Because Port
A has only four I/O pins, only the four least significant
bits of this register are used. The four high-order register
bits are “don’t care” bits. Port B and Port C are both eight
bits wide, so the full widths of the RB and RC registers
are used.
When a write is performed to a bit position for a port that
has been configured as an input, a write to the port data
register is still performed, but it has no immediate effect
on the pin. If later that pin is configured to operate as an
output, it will reflect the value that has been written to the
data register.
When a read is performed from a bit position for a port,
the operation is actually reading the voltage level on the
pin itself, not necessarily the bit value stored in the port
data register. This is true whether the pin is configured to
operate as an input or an output. Therefore, with the pin
configured to operate as an input, the data register
contents have no effect on the value that you read. With
the pin configured to operate as an output, what is read
generally matches what has been written to the register.



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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