| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT85F2270 bảng dữ liệu(PDF) 192 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT85F2270 bảng dữ liệu(HTML) 192 Page - Holtek Semiconductor Inc |
|
192 / 226 page ![]() Rev. 1.00 19� of ��6 �a� 1�� �01� Standard 8051 8-Bit Flash MCU HT85F2260/HT85F2270/HT85F2280 SPI Registers There are three internal registers which control the overall operation of the SPI interface. These are the SPDAT data register, where the received data or transmitted data is stored and two control registers SPCON and SPSTA. SPI Register List Register Name Bit 7 6 5 4 3 2 1 0 SPCON SPR� SPEN SSDIS �STR CPOL CPHA SPR1 SPR0 SPSTA SPIF WCOL SSERR �ODF — — — — SPDAT D7 D6 D� D4 D� D� D1 D0 The SPDAT register is used to store the data being transmitted and received. Before the device writes data to the SPI bus, the actual data to be transmitted must be placed in the SPDAT register. After the data is received from the SPI bus, the device can read the data from the SPDAT register. Any transmission or reception of data from the SPI bus must be made via the SPDAT register. SPDAT Register SFR Address: E3h Bit 7 6 5 4 3 2 1 0 Name D7 D6 D� D4 D� D� D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 0 0 0 0 0 0 0 0 There are also two control registers for the SPI interface, SPCON and SPSTA. Register SPCON is used to control the enable/disable function, to assign the clock Polarity/Edge types, to enable/disable the SPI function and to set the data transmission clock frequency. Register SPSTA is used to indicate the SPI operational status, such as data transferred complete flag, write collision flag, Synchronous Serial Slave Error flag and SPI mode Fault detection flag etc. When any one of the SPIF, WCOL, SSERR and MODF flags in the SPSTA register is set high, an SPI interrupt will occur if the SPI interrupt function is enabled. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| 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 |