參數(shù)資料
型號(hào): MC68HC11A0CFN1
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: ROM-based high-performance microcontrollers
中文描述: 基于ROM的高性能微控制器
文件頁數(shù): 85/124頁
文件大?。?/td> 840K
代理商: MC68HC11A0CFN1
SERIAL PERIPHERAL INTERFACE
TECHNICAL DATA
8-7
8.5.2 Serial Peripheral Status
SPIF — SPI Transfer Complete Flag
SPIF is set upon completion of data transfer between the processor and the external
device. If SPIF goes high, and if SPIE is set, a serial peripheral interrupt is generated.
To clear the SPIF bit, read the SPSR with SPIF set, then access the SPDR. Unless
SPSR is read (with SPIF set) first, attempts to write SPDR are inhibited.
WCOL — Write Collision
Clearing the WCOL bit is accomplished by reading the SPSR (with WCOL set) fol-
lowed by an access of SPDR. Refer to
8.3.4 Slave Select
and
8.4 SPI System Errors
.
0 = No write collision
1 = Write collision
Bit 5 — Not implemented
Always reads zero
MODF — Mode Fault
To clear the MODF bit, read the SPSR (with MODF set), then write to the SPCR. Refer
to
8.3.4 Slave Select
and
8.4 SPI System Errors
.
0 = No mode fault
1 = Mode fault
Bits [3:0] — Not implemented
Always read zero
8.5.3 Serial Peripheral Data I/O
The SPDR is used when transmitting or receiving data on the serial bus. Only a write
to this register initiates transmission or reception of a byte, and this only occurs in the
master device. At the completion of transferring a byte of data, the SPIF status bit is
set in both the master and slave devices.
A read of the SPDR is actually a read of a buffer. To prevent an overrun and the loss
of the byte that caused the overrun, the first SPIF must be cleared by the time a second
transfer of data from the shift register to the read buffer is initiated.
NOTE
SPI is double buffered in and single buffered out.
SPSR
— Serial Peripheral Status Register
$0029
Bit 7
SPIF
0
6
5
0
0
4
3
0
0
2
0
0
1
0
0
Bit 0
0
0
WCOL
0
MODF
0
RESET:
SPDR
— SPI Data Register
$002A
Bit 7
Bit 7
6
6
5
5
4
4
3
3
2
2
1
1
Bit 0
Bit 0
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
MC68HC11A0CFN4 ROM-based high-performance microcontrollers
MC68HC11A0CFU ROM-based high-performance microcontrollers
MC68HC11A0CFU1 ROM-based high-performance microcontrollers
MC68HC11A0CFU4 ROM-based high-performance microcontrollers
MC68HC11A0FB ROM-based high-performance microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC11A0CFN2 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:HCMOS Single-Chip Microcontroller
MC68HC11A0CFN3 制造商:Motorola Inc 功能描述: 制造商:MOTOROLA 功能描述:
MC68HC11A0CFN3R2 制造商:Rochester Electronics LLC 功能描述:
MC68HC11A0CFN4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11A0CFNE3 功能描述:8位微控制器 -MCU 8B MCU 768RAM A/D 3MH RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT