参数资料
型号: DM163001
厂商: Microchip Technology
文件页数: 43/57页
文件大小: 0K
描述: BOARD DEMO PICDEM-1
标准包装: 3
其它名称: DM163001R
DM163001R-ND
PICDEM-1
Chapter 6. USART Demo – PIC17C42
6.4
Xmit Routine
The Xmit routine increases the value of count by one and then transmits this
value. Then the routine waits for S1 to be released (debounce) before
returning to the main routine.
Increment Count
Transmit Count
No
Key Released?
Yes
Return
Figure 6.7: Transmit Routine
6.5
Detailed Code Description
The program begins by defining the reset, RTCC interrupt, and peripheral
interrupt vectors. If for some reason the RTCC interrupt was enabled and the
program reached Rtcc_int , the program would return with the interrupts
enabled.
;
org
goto
0
Start
Rtcc_int
;
Perf_int
;
org
retfie
org
goto
org
0x0010
0x0020
Service_perf
0x0030
; vector for rtcc interrupt
; return with ints enabled
; vector for peripheral interrupt
; service the interrupts
The main program routine clears RAM from 20h to 0FFh, calls routines to
initialize the ports and the serial I/O, and loops while waiting for a keypress.
When a keypress is detected, the main program calls the Xmit routine.
? 1999 Microchip Technology Inc.
DS33015C-page 39
相关PDF资料
PDF描述
DM163004-LT BOARD DEMO PICDEM.NET
DM163005 KIT EVAL PIC16C432/433 LIN BUSS
DM163007 PICDEM CAN-LIN 1 FOR 18C658/858
DM163008 KIT MCP2120/2150 FOR IRDA COMM
DM163010 BOARD DEMO PICDEM USB
相关代理商/技术参数
参数描述
DM163002 制造商:Microchip Technology Inc 功能描述:PIC16C64/74 DEMO BOARD
DM163003 功能描述:开发板和工具包 - PIC / DSPIC PICDEM 3 PIC16C923/4 RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM163004 功能描述:开发板和工具包 - PIC / DSPIC USE 579-DM163004-LT RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM163004 制造商:Microchip Technology Inc 功能描述:DEMO BOARD W/TCP/IP ((NW))
DM163004-LT 功能描述:开发板和工具包 - PIC / DSPIC PICDEM.net Demo Kit w/o TCP/IP Lean Book RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: