欧美成人免费电影,国产欧美一区二区三区精品酒店,精品国产a毛片,色网在线免费观看

參數資料
型號: FM8P51EF
廠商: Electronic Theatre Controls, Inc.
英文描述: EPROM/ROM-Based 8-Bit Microcontroller
中文描述: 存儲器/基于ROM的8位微控制器
文件頁數: 30/60頁
文件大小: 369K
代理商: FM8P51EF
FM8P51
Rev1.2 Mar 15, 2005
P.30/FM8P51
FEELING
TECHNOLOGY
FIGURE 2.10: SPI Mode Timing (Master Mode)
2.7.2 Slave Mode
2.7.2.1 Slave Mode with SSE Control (SSEMOD = 0)
In this slave mode, the data is transmitted and received as the external clock pulses appear on SCK pin. Once the
SPI shift register enable bit SSE (SPICON<4>) has been set to “1”, data in SPITXB will be loaded into SPISR and
start to shift in/out, then transmit buffer empty detect bit (TXBF), and interrupt flag bits (SPITXIF, TXBFIF) are set.
And then user could write the next byte data to SPITXB register before the 8-bit data transmission is completed if
needed. Once the 8-bits of data have been received, the data in SPISR will be moved to the SPIRCB register, then
buffer full detect bit (RCBF), interrupt flag bits (SPIRCIF, RCBFIF) are set. And then user could read out the SPIRCB
register before next 8-bit data transmission is completed if needed.
The SSB pin allows a synchronous slave mode. The SPI must be in slave mode with SSB pin control enabled
(SPICON<2:0> = 101). When the SSB pin is low, transmission and reception are enabled and the SDO pin is driven.
When the SSB pin goes high, the SDO pin is no longer driven, even if in the middle of transmitted byte, and
becomes a floating output. External pull-up/pull-down resistors may be desirable, depending on the application.
When the SPI module resets, the bit counter is forced to 0. This can be done by forcing the SSB pin to high level or
clearing the SPION bit (SPICON<6>).
How to transmit/receive data in this slave mode:
1. Enable SPI function by setting the SPION (SPICON<6>) bit.
2. Enable/disable the SSB pin control by programming SPIM2:SPIM0 (SPICON<2:0>) bits.
3. Write the data that you want to transmit to SPITXB register if needed.
4. Set SSE (SPICON<4>) bit and wait the external clock pulses appear on SCK pin to start transmit.
5. When the 8-bit data transmission starts, both of the SPITXIF and TXBFIF interrupt flags will set to 1. Besides,
both of these bits are cleared by software. The TXBF flag also will be set to “1”, cleared by software or by
writting data to SPITXB register.
6. Write next new data to SPITXB register before this byte transmission being finished if needed.
7. When the 8-bit data transmission is over, the SSE bit will be reset to “0” by hardware. Therefore, if user want to
transmit/receive another 8-bit data, user must set SSE bit to “1” again before next clock pulse appearing SCK
pin.
8. When the 8-bit data transmission is completed, both of the SPIRCIF and RCBFIF interrupt flags will set to 1.
cleared by
read SPIRCB
RCBF
Read from SPIRCB
(if needed)
by H/W
SPISR to
SPIRCB
by H/W
SPITXB to
SPISR
by H/W
Write to SPITXB
(if needed)
SSE (optional)
by S/W
by H/W
cleared by write next byte to SPITXB
TXBF
bit7
SDI
bit0
bit7
SDO
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
bit7
bit6
SCK (CKE=0)
SCK (CKE=1)
相關PDF資料
PDF描述
FM8P51EP EPROM/ROM-Based 8-Bit Microcontroller
FM8P51F EPROM/ROM-Based 8-Bit Microcontroller
FM8P51P EPROM/ROM-Based 8-Bit Microcontroller
FM8P51E EPROM/ROM-Based 8-Bit Microcontroller
FM8P54 EPROM/ROM-Based 8-Bit Microcontroller Series
相關代理商/技術參數
參數描述
FM8P51EP 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller
FM8P51F 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller
FM8P51P 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller
FM8P54 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller Series
FM8P54E 制造商:未知廠家 制造商全稱:未知廠家 功能描述:EPROM/ROM-Based 8-Bit Microcontroller Series
主站蜘蛛池模板: 防城港市| 淄博市| 肃宁县| 五原县| 济源市| 眉山市| 延吉市| 阿勒泰市| 普定县| 扶绥县| 孟连| 佛学| 西宁市| 塔城市| 新安县| 六安市| 福建省| 扎兰屯市| 兴义市| 广州市| 桃园县| 抚远县| 方山县| 宁国市| 永仁县| 包头市| 济南市| 城固县| 平顺县| 阿合奇县| 沾益县| 包头市| 克拉玛依市| 宁远县| 阿坝| 琼结县| 九龙坡区| 浦东新区| 含山县| 同德县| 连江县|