Electronic Components Datasheet Search
  English  ▼

X  

STC89LE53RC Datasheet(PDF) 131 Page - List of Unclassifed Manufacturers

Part # STC89LE53RC
Description  STC12C5410AD
PDF  149 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ETC1 [List of Unclassifed Manufacturers]
Direct Link  
Logo ETC1 - List of Unclassifed Manufacturers

STC89LE53RC Datasheet(HTML) 131 Page - List of Unclassifed Manufacturers

Back Button STC89LE53RC Datasheet HTML 127Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 128Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 129Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 130Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 131Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 132Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 133Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 134Page - List of Unclassifed Manufacturers STC89LE53RC Datasheet HTML 135Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 131 / 149 page
background image
宏晶科技:www.MCU-Memory.com   Mobile:13922805190(姚永平)   Tel:0755-82948409    Fax: 0755-82944243
宏晶科技:专业单片机 / 存储器供应商   www.MCU-Memory.com   STC12C5410AD 系列 1T 8051 单片机中文指南
131
    CLR   TI                        ;清零串口发送中断标志
    RET
;------------------------------------------------------------------------------
;此段程序只有主 MCU  调用
SPI_Send_Byte:                      ;SPI 发送一个字节
    CLR   EADC_SPI                  ;关 ADC 中断和 SPI 中断共享的总中断控制位
    MOV   SPDAT, A                  ;SPI 发送数据
SPI_Send_Byte_Wait:
    MOV   A, SPSTAT                 ;等待 SPIF=1 即等待 SPI 发送完毕
    ANL   A, #80H
    JZ    SPI_Send_Byte_Wait
    SETB  EADC_SPI                  ;开 ADC 中断和 SPI 中断共享的总中断控制位
    RET
;------------------------------------------------------------------------------
Get_Byte_From_RS232:                ;取 RS-232 串口中收到的数据累加器 A
    MOV   A, SBUF
    CLR   RI
    RET
;------------------------------------------------------------------------------
    END
;------------------------------------------------------------------------------
;更详细的资料可以参阅 STC12C5410AD.pdf (中文使用说明)。
;
;SPI 控制寄存器
;          7      6      5      4      3      2      1      0
;SPCTL   SSIG   SPEN   DORD   MSTR   CPOL   CPHA   SPR1   SPR0
;
;SSIG: 忽略 SS 脚, 如果 SSIG=1, 由 MSTR 位决定主模式或从模式,
;      如果 SSIG=0,  由 SS  脚决定主模式或从模式。
 ;SPEN:SPI 使能位。如果 SPEN=0,SPI 功能被禁止,SPI  脚用作普通 IO 口
;DORD:SPI  数据传输顺序。
;      1:先传低位 LSB
;      0:先传高位 MSB
;MSTR:主 / 从模式选择位
;CPOL:SPI  时钟信号极性选择位
;      1:SPI 空闲时 SPICLK = 1,前跳变沿是下降沿,后跳变沿是上升沿。
;      0:SPI 空闲时 SPICLK = 0,前跳变沿是上升沿,后跳变沿是下降沿。
;CPHA:SPI  时钟信号相位选择位
;      1:数据由 SPICLK 前跳变沿驱动到口线,后跳变沿采样。
;      0:当 SS 脚为低(SSIG=0)时数据被驱动到口线,并且在 SPICLK 后跳变沿数据
;         被改变(被驱动到口线),在 SPICLK 前跳变沿数据被采样。注意:SSIG = 1
;         时操作未定义。
;SPR1-SPR0:主模式时 SPI  时钟速率选择
;      00:fosc/4
;      01:fosc/16
;      10:fosc/64



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