參數(shù)資料
型號(hào): C16X
廠商: SIEMENS AG
元件分類(lèi): 8位微控制器
英文描述: 8-Bit Microcontroller(8位微控制器)
中文描述: 8位微控制器(8位微控制器)
文件頁(yè)數(shù): 10/40頁(yè)
文件大小: 460K
代理商: C16X
Using the
SSC (SPI) Interface in a Multimaster System
Semiconductor Group
10 of 40
AP1632 06.96
3.5.2 Receive data
As mentioned, receiving of data via the SSC is always synchronized with transmitting
data. If the selected number of bits is received data is automatically transferred from the
shift register into the SSC receive buffer SSCRB. The software is then notified by an SSC
receive interrupt to copy the value of SSCRB into any software buffer before the next SSC
data word is received. In the demo software, initially the SSC receive interrupt is directed
to PEC0 which transfers the received word into
RX_BUFFER[0]
and then calls the
Figure 8:
Receiving Data via SSC
RX_BUFFER [0]
RX_BUFFER [1...16]
SSCRB (SSC Receive Buffer)
S
SSC Transm it Line
SSC Receive Line
PEC
PEC
OR
RECEIVED W ORD
RECEIVED W ORD
HEADER
SOURCE
DESTINATION
COM M AND
4 bit
4 bit
5 bit
3 bit
16 bit
16 bit
16 bit
1
IDLE
M ASTER_REQ
DIR_CHG
OK
16 tim es transfer PEC 2 to RX_BUFFER
until PEC 2 counter = 0
redirect SSC receive interrupt to PEC 0
RETURN FROM INTERRUPT
do nothing
discard received data
send OK to slave
becom e SLAVE
init SSC to SLAVE
SSC polling off
running LED on
becom e M ASTER
init SSC to M ASTER
running LED off
SSC polling on
toggle LED direction
SSC receive interrupt directed to PEC 2
prepare PEC 2 for 16 word transfers
RETURN FROM INTERRUPT
reload PEC 0 counter (1)
SSC RECEIVE INTERRUPT:
RECEIVED W ORD
NOT E
H
c
...
...
相關(guān)PDF資料
PDF描述
C1731 205 UH Inductor Approved for use by GlobeSpan
C1733 ADSL Line Coupling Transformer, IEC60950 Supplementary 250V
C2042 Analog Devices AD20MSP930 CPE Line Transformer Meet requirements of IEC60950 for supplementary insulation, 250V working voltage
C2056 78.03 UH Inductor
C221J11S205DQF Power Rocker Switches
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
C17 制造商:ALC 功能描述:ALCO - TOGGLE SWITCH COVERS (COLORED) 制造商:Cooper Crouse-Hinds 功能描述: 制造商:Thomas & Betts 功能描述:
C-17 制造商:ALC 功能描述:ALCO - TOGGLE SWITCH COVERS (COLORED)
C1-7 制造商:Alpha 3 Manufacturing 功能描述:
C-17 300000-003IG 制造商:DigitHead Inc 功能描述:3"RIBBON CABLE ASSEMBLY.STANDARD 50P FEMALE POLARIZED IDC SOCKET
C170 制造商:Yorkville Sound 功能描述:Coliseum Mini Series 8'' Indoor / Outdoor 70V Black Speaker Pair - 100W 制造商:YORKVILLE SOUND 功能描述:IN / OUTDOOR SPEAKER PAIR 8 INCH 100W 8 OHM / 70V BLACK 制造商:Datak Corporation 功能描述:Cable Assembly RS-232 3.048m 28AWG 9 POS D-Sub to 9 POS D-Sub M-F