参数资料
型号: PIC16LF1824-E/ML
厂商: Microchip Technology
文件页数: 30/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 裸露焊盘
包装: 管件
175
2552K–AVR–04/11
ATmega329/3290/649/6490
More advanced initialization routines can be made that include frame format as parameters, dis-
able interrupts and so on. However, many applications use a fixed setting of the baud and
control registers, and for these types of applications the initialization code can be placed directly
in the main routine, or be combined with initialization code for other I/O modules.
19.6
Data Transmission – The USART Transmitter
The USART Transmitter is enabled by setting the Transmit Enable (TXENn) bit in the UCSRnB
Register. When the Transmitter is enabled, the normal port operation of the TxD pin is overrid-
den by the USART and given the function as the Transmitter’s serial output. The baud rate,
mode of operation and frame format must be set up once before doing any transmissions. If syn-
chronous operation is used, the clock on the XCK pin will be overridden and used as
transmission clock.
19.6.1
Sending Frames with 5 to 8 Data Bit
A data transmission is initiated by loading the transmit buffer with the data to be transmitted. The
CPU can load the transmit buffer by writing to the UDRn I/O location. The buffered data in the
transmit buffer will be moved to the Shift Register when the Shift Register is ready to send a new
frame. The Shift Register is loaded with new data if it is in idle state (no ongoing transmission) or
immediately after the last stop bit of the previous frame is transmitted. When the Shift Register is
loaded with new data, it will transfer one complete frame at the rate given by the Baud Register,
U2Xn bit or by XCK depending on mode of operation.
The following code examples show a simple USART transmit function based on polling of the
Data Register Empty (UDREn) Flag. When using frames with less than eight bits, the most sig-
nificant bits written to the UDRn are ignored. The USART has to be initialized before the function
can be used. For the assembly code, the data to be sent is assumed to be stored in Register
R16.
Note:
Assembly Code Example
USART_Transmit:
; Wait for empty transmit buffer
sbis
UCSR0A,UDRE0
rjmp
USART_Transmit
; Put data (r16) into buffer, sends the data
out
UDR0,r16
ret
C Code Example(1)
void
USART_Transmit( unsigned char data )
{
/* Wait for empty transmit buffer */
while
( !( UCSR0A & (1<<UDRE0)) )
;
/* 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