文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 工程科技 > 电子/电路 > uart_pic24
侵权投诉

uart_pic24

pic24 uart功能

Section 21. UART

21.2

CONTROL REGISTERS

UxMODE: UARTx Mode RegisterR/W-0UFRZ

R/W-0USIDL

R/W-0IRENR/W-0RTSMD

R/W-0ALTIOR/W-0UEN1

R/W-0UEN0

bit 8

R/W-0LPBACK

R/W-0ABAUD

R/W-0RXINV

R/W-0BRGH

R/W-0PDSEL1

R/W-0PDSEL0

R/W-0STSEL

bit 0

Register 21-1:

R/W-0UARTENbit 15

R/W-0WAKEbit 7Legend:R = Readable bit

W = Writable bit‘1’ = Bit is set

U = Unimplemented bit, read as ‘0’‘0’ = Bit is cleared

x = Bit is unknown

-n = Value at PORbit 15

UARTEN: UARTx Enable bit

1 =UARTx is enabled; UARTx pins are controlled by UARTx as defined by UEN<1:0> and UTXEN

control bits

0 =UARTx is disabled; UARTx pins are controlled by corresponding PORT, LAT and TRIS bitsUFRZ: Freeze in Debug Mode bit

1 = When emulator is in Debug mode, module freezes operation0 = When emulator is in Debug mode, module continues operationUSIDL: Stop in Idle Mode bit

1 = Discontinue operation when device enters Idle mode0 = Continue operation in Idle mode

IREN: IrDA Encoder and Decoder Enable bit(1)1 = IrDA encoder and decoder enabled0 = IrDA encoder and decoder disabledRTSMD: Mode Selection for UxRTS Pin bit1 = UxRTS in Simplex mode

0 = UxRTS in Flow Control mode

ALTIO: UARTx Alternate I/O Selection bit(2)

1 = UARTx communicates using UxATX and UxARX I/O pins0 = UARTx communicates using UxTX and UxRX I/O pins

UEN<1:0>: UARTx Enable bits

11 =UxTX, UxRX and BCLKx pins are enabled and used; UxCTS pin is controlled by port latches10 =UxTX, UxRX, UxCTS and UxRTS pins are enabled and used

01 =UxTX, UxRX and UxRTS pins are enabled and used; UxCTS pin is controlled by port latches00 =UxTX and UxRX pins are enabled and used; UxCTS, UxRTS and BCLKx pins are controlled by

port latchesWAKE: Enable Wake-up on Start bit Detect During Sleep Mode bit1 = Wake-up enabled0 = Wake-up disabled

LPBACK: UARTx Loopback Mode Select bit1 = Enable Loopback mode0 = Loopback mode is disabled

bit 14

bit 13

bit 12

bit 11

bit 10

bit 9-8

bit 7

bit 6

Note1:This feature is available only for the 16x BRG mode (BRGH = ‘0’).

2:The alternate UART I/O pins are not available on all devices. See specific device data sheets for details.

© 2007 Microchip Technology Inc.

Advance Information

DS39708B-page 21-3

uart_pic24

上一页第3页

你可能喜欢

热门文档

相关文档

  • pic24各个模块数据手册(中文)12章IO

    pic24各个模块数据手册(中文)12章IO_电子/电路_工程科技_专业资料。第 12 ...DCI UART CAN ? 2007 Microchip Technology Inc. 超前信息 DS39711A_CN 第 12...

  • PIC24系列单片机原理与开发 第13章 PIC24系列单片机的...

    Program Files\Microchip\MPLAB C30\src\peripheral_24F\src\pmc , adc i2c timer uart PIC24 by Zeng 2012-6-13 timer.h \peripheral_24F\include uart....

  • PIC32单片机UART

    PIC32单片机UART_电子/电路_工程科技_专业资料。PIC32单片机中文资料...(1,2,3) 31:24 23:16 15:8 7:0 UxSTA (1,2,3) UART SFR 汇总 ...

  • PIC24单片机系列

    Msps), 32个通道,3个比较器 UART,CAN,SPI, I2C,USB-OTG 辅助闪存,CTMU,RTCC PIC24系列特性闪存 采用安全技术的最大536 KB可自编程闪存 最大96 KB的静态...

  • pic24

    16-bit Microcontrollers High-Performance PIC24 Microcontroller Family www....Additional PIC24 key features include: Two ports each of UART, SPI? and ...

  • PIC24系列单片机原理与开发 第1章 PIC24 系列单片机概述

    PIC24系列单片机原理与开发 第1章 PIC24 系列单片机概述_计算机硬件及网络_IT...(UART) , 4 FIFO 7 /10 4 4 16 RTCC 32 / FIFO / 5 5 16 I/O ...

  • PIC24系列单片机原理与开发 第2章 CPU和存储器组织

    PIC24系列单片机原理与开发 第2章 CPU和存储器组织_计算机硬件及网络_IT/...UART RTSP PIC24 Flash 128 PIC24 PIC24 by Zeng 2012-6-7 Flash NVMCON ...

  • 第八章 UART

    第八章 UART_专业资料。PIC24系列单片机教程2 UART接口? 串行口是计算机上一种通用设备的通信 协议. ? 串口同时也是仪器仪表设备通用的通信 协议;很多GPIB兼容的...

  • 16位pic-dspic选型与开发指南

    集成图形驱动器 C PI 24 d PI s 33 C www.microchip.com/16bit 16位嵌入...程序现有两个应用笔记可帮助客户为PIC24 MCU和dsPIC DSC产 品开发基于UART的自...

  • PIC32MX795F512L代码示例及说明

    UART/SPI/IIC 等串行通信方式; 12、带 JTAG 调试口,具有休眠功能,节省能耗。...24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email