參數(shù)資料
型號: PIC16LF1527T-I/MR
廠商: Microchip Technology
文件頁數(shù): 35/94頁
文件大?。?/td> 0K
描述: MCU PIC 28KB FLASH 64QFN
標準包裝: 3,300
系列: PIC® XLP™ 16F
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,LIN,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 54
程序存儲器容量: 28KB(16K x 14)
程序存儲器類型: 閃存
RAM 容量: 1.5K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 3.6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 30x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 64-VFQFN 裸露焊盤
包裝: 帶卷 (TR)
201
7810C–AVR–10/12
Atmel ATmega328P [Preliminary]
Note:
20.6.1
Transmitter and Receiver Flags and Interrupts
The RXCn, TXCn, and UDREn flags and corresponding interrupts in USART in MSPIM mode
are identical in function to the normal USART operation. However, the receiver error status flags
(FE, DOR, and PE) are not in use and is always read as zero.
20.6.2
Disabling the Transmitter or Receiver
The disabling of the transmitter or receiver in USART in MSPIM mode is identical in function to
the normal USART operation.
Assembly Code Example(1)
USART_MSPIM_Transfer:
; Wait for empty transmit buffer
sbis
UCSRnA, UDREn
rjmp
USART_MSPIM_Transfer
; Put data (r16) into buffer, sends the data
out
UDRn,r16
; Wait for data to be received
USART_MSPIM_Wait_RXCn:
sbis
UCSRnA, RXCn
rjmp
USART_MSPIM_Wait_RXCn
; Get and return received data from buffer
in
r16, UDRn
ret
C Code Example
unsigned char
USART_Receive( void )
{
/* Wait for empty transmit buffer */
while
( !( UCSRnA & (1<<UDREn)) );
/* Put data into buffer, sends the data */
UDRn = data;
/* Wait for data to be received */
while
( !(UCSRnA & (1<<RXCn)) );
/* Get and return received data from buffer */
return
UDRn;
}
相關(guān)PDF資料
PDF描述
PIC16F1937T-I/ML IC PIC MCU FLASH 512KX14 44-QFN
PIC16LF1937T-I/ML IC PIC MCU FLASH 512KX14 44-QFN
PIC18LF24K22T-I/MV IC MCU 8BIT 16KB FLASH 28UQFN
PIC18F44K20T-I/ML IC PIC MCU FLASH 8KX16 44QFN
PIC24F16KA101T-I/MQ IC PIC MCU FLASH 16KB 20-QFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16LF1613-I/SL 制造商:Microchip Technology Inc 功能描述:3.5KB FLASH, 256 RAM, 32MHZ INT. OSC, 10BIT ADC, ZCD, WWDT, - Rail/Tube 制造商:Microchip Technology Inc 功能描述:3.5KB Flash, 256 RAM, 32MHz Int. Osc, 10bit ADC, ZCD, WWDT, CRC, 14 SOIC .150in
PIC16LF1613-I/ST 制造商:Microchip Technology Inc 功能描述:3.5KB FLASH, 256 RAM, 32MHZ INT. OSC, 10BIT ADC, ZCD, WWDT, - Rail/Tube 制造商:Microchip Technology Inc 功能描述:3.5KB Flash, 256 RAM, 32MHz Int. Osc, 10bit ADC, ZCD, WWDT, CRC, 14 TSSOP 4.4mm
PIC16LF1703-I/SL 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 2K FLASH 14SOIC
PIC16LF1703T-I/ML 制造商:Microchip Technology Inc 功能描述:2K Word Flash, 256B RAM, 10-bit ADC, 2 OPAmp, CCP, I2C/SPI, Zero Cross Detect, 1
PIC16LF1703T-I/SL 制造商:Microchip Technology Inc 功能描述:2K Word Flash, 256B RAM, 10-bit ADC, 2 OPAmp, CCP, I2C/SPI, Zero Cross Detect, 1