поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

GPBA02A датащи(PDF) 17 Page - Generalplus Technology Inc.

номер детали GPBA02A
подробное описание детали  I/O Extender
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  GENERALPLUS [Generalplus Technology Inc.]
домашняя страница  http://www.generalplus.com
Logo GENERALPLUS - Generalplus Technology Inc.

GPBA02A датащи(HTML) 17 Page - Generalplus Technology Inc.

Back Button GPBA02A Datasheet HTML 13Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 14Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 15Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 16Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 17Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 18Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 19Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 20Page - Generalplus Technology Inc. GPBA02A Datasheet HTML 21Page - Generalplus Technology Inc.  
Zoom Inzoom in Zoom Outzoom out
 17 / 21 page
background image
GPBA02A
© Generalplus Technology Inc.
Proprietary & Confidential
17
JAN. 06, 2011
Version: 1.6
Register Speed up OR function:
The content of ATTA/B/C, BUFA/B/C and DIRA/B/C can be speed
up OR with any data by executing a special write instruction.
According to the command data frame, when user writes data into
register address of 2xH (B5-4 of command is 10), the writing data
will be OR with the current data of this register and then be load in
the exact register again. While executing OR instruction, the I/O
extender reads the primary value of the register. This speed up
OR operation only spends the host a write command cycle. It is
a very useful function for I/Os’ real time control.
Register Speed up XOR function:
The content of ATTA/B/C, BUFA/B/C and DIRA/B/C can be speed
up XOR with any data by executing a special write instruction.
According to the command data frame, when user writes data into
register address of 3xH (B5-4 of command is 11), the writing data
will be XOR with the current data of this register and then be load
in the exact register again. While executing XOR instruction, the
I/O extender reads the primary value of the register. This speed
up XOR operation only spends the host a write command cycle.
It is a very useful function for I/Os’ real time control.
Comparing traditional AND/OR/XOR operation with speed up AND/OR/XOR operation
(Reference by 6502 assembler):
Traditional
Speed Up
AND Operation
Read a byte from I/O extender
MCU internal “AND”
Write a byte to I/O extender
(Example:
LDX #$01
JSR READ_SPI
AND #$55
JSR
WRITE_SPI
)
Write a byte to “AND” address
(Example:
LDA
#$55
LDX
#$11
JSR
WRITE_SPI
)
OR Operation
Read a byte from I/O extender
MCU internal “OR”
Write a byte to I/O extender
(Example:
LDX #$01
JSR READ_SPI
OR #$55
JSR
WRITE_SPI
)
Write a byte to “OR” address
(Example:
LDA
#$55
LDX
#$21
JSR
WRITE_SPI
)
XOR Operation
Read a byte from I/O extender
MCU internal “XOR”
Write a byte to I/O extender
(Example:
LDX #$01
JSR READ_SPI
XOR #$55
JSR
WRITE_SPI
)
Write a byte to “XOR” address
(Example:
LDA
#$55
LDX
#$31
JSR
WRITE_SPI
)
Note:
The sub routine READ_SPI and WRITE_SPI depends on the host structure, it takes at least 34 IO access cycles (enable*2+data_clock*8*2*2, no include
data and flow control process) while using software to generate SPI waveform.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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