参数资料
型号: PIC16LF1824-E/ML
厂商: Microchip Technology
文件页数: 31/101页
文件大小: 0K
描述: IC MCU 8BIT 7KB FLASH 16QFN
标准包装: 91
系列: PIC® XLP™ mTouch™ 16F
核心处理器: PIC
芯体尺寸: 8-位
速度: 32MHz
连通性: I²C,SPI,UART/USART
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 11
程序存储器容量: 7KB(4K x 14)
程序存储器类型: 闪存
EEPROM 大小: 256 x 8
RAM 容量: 256 x 8
电压 - 电源 (Vcc/Vdd): 1.8 V ~ 3.6 V
数据转换器: A/D 8x10b
振荡器型: 内部
工作温度: -40°C ~ 125°C
封装/外壳: 16-VQFN 裸露焊盘
包装: 管件
176
2552K–AVR–04/11
ATmega329/3290/649/6490
The function simply waits for the transmit buffer to be empty by checking the UDREn Flag,
before loading it with new data to be transmitted. If the Data Register Empty interrupt is utilized,
the interrupt routine writes the data into the buffer.
19.6.2
Sending Frames with 9 Data Bit
If 9-bit characters are used (UCSZ = 7), the ninth bit must be written to the TXB8n bit in
UCSRnB before the low byte of the character is written to UDRn. The following code examples
show a transmit function that handles 9-bit characters. For the assembly code, the data to be
sent is assumed to be stored in registers R17:R16.
Notes:
1. These transmit functions are written to be general functions. They can be optimized if the con-
tents of the UCSRnB is static. For example, only the TXB80 bit of the UCSRnB Register is
used after initialization.
The ninth bit can be used for indicating an address frame when using multi processor communi-
cation mode or for other protocol handling as for example synchronization.
Assembly Code Example
USART_Transmit:
; Wait for empty transmit buffer
sbis
UCSR0A,UDRE0
rjmp
USART_Transmit
; Copy 9th bit from r17 to TXB80
cbi
UCSR0B,TXB80
sbrc
r17,0
sbi
UCSR0B,TXB80
; Put LSB data (r16) into buffer, sends the data
out
UDR0,r16
ret
C Code Example(1)(2)
void
USART_Transmit( unsigned int data )
{
/* Wait for empty transmit buffer */
while
( !( UCSR0A & (1<<UDRE0))) )
;
/* Copy 9th bit to TXB80 */
UCSR0B &= ~(1<<TXB80);
if ( data & 0x0100 )
UCSR0B |= (1<<TXB80);
/* Put data into buffer, sends the data */
UDR0 = data;
}
相关PDF资料
PDF描述
D38999/20FJ7SN CONN RCPT 99POS WALL MNT W/SCKT
PIC16LF723AT-I/MV MCU 8BIT 4K FLASH XLP 28-UQFN
PIC16F723AT-I/MV MCU 8BIT 4K FLASH XLP 28-UQFN
D38999/26WJ7SA CONN PLUG 99POS STRAIGHT W/SCKT
PIC16LF1826T-I/SO MCU 8BIT 2K FLASH 18SOIC
相关代理商/技术参数
参数描述
PIC16LF1824-I/ML 功能描述:8位微控制器 -MCU 7KB Flash 256B RAM 32 MHz Int Osc Core RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LF1824-I/P 功能描述:8位微控制器 -MCU 7KB Flash 256B RAM 32 MHz Int Osc Core RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LF1824-I/SL 功能描述:8位微控制器 -MCU 7KB Flash 256B RAM 32 MHz Int Osc Core RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LF1824-I/ST 功能描述:8位微控制器 -MCU 7KB Flash 256B RAM 32 MHz Int Osc Core RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LF1824T39A-I/ST 制造商:Microchip Technology 功能描述:MCU 8-bit PIC16 PIC RISC 7KB Flash 2.5V/3.3V 20-Pin TSSOP 制造商:Microchip Technology Inc 功能描述:PIC16LF1824 MICROCONTROLLER WITH 300-900 MHZ TRANSMITTER - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT FLASH 20TSSOP 制造商:Microchip Technology Inc 功能描述:PIC16LF1824 Microcontroller