USART Asynchronous Communications
TABLE 6-2:
USART SCRIPT MACRO COMMANDS (CONTINUED)
6.8
USCLKPOLRST
USINIT
USRESET
USAUX1RST
USAUX1SET
USAUX1OUT
USAUX1IN
USAUX1W0
USAUX1W1
USAUX2RST
USAUX2SET
USAUX2OUT
USAUX2IN
USAUX2W0
USAUX2W1
SCRIPT EXECUTE
[CR]
[I_]
[RE]
[A1RST]
[A1RST]
[A1OUT]
[A1IN]
[A1W0]
[A1W1]
[A2RST]
[A2RST]
[A2OUT]
[A2IN]
[A2W0]
[A2W1]
Reset CLOCK POLARITY bit
Initialize USART controller
Reset USART controller.
Reset Aux1
Set Aux1
Set Aux1 direction to Output
Set Aux1 direction to Input
Aux1 Wait 0
Aux1 Wait 1
Reset Aux2
Set Aux2
Set Aux2 direction to Output
Set Aux2 direction to Input
Aux2 Wait 0
Aux2 Wait 1
The Script Execute window is shown in Figure 6-10. Once scripts are created using the
Script Builder, they can be assigned to buttons in the Script Execute window. This
makes a convenient window to execute multiple scripts either individually or iteratively.
Script executing will be logged in the Transactions window.
FIGURE 6-10:
USART ASYNCHRONOUS SCRIPT EXECUTE
6.8.1
Assignable Buttons
User created scripts will be displayed in the central USART Scripts column. To assign
a script to a button, click on the script name and drag it to the desired Assignable
Buttons in the right column. The script will be executed once each time the button is
clicked.
The Assignable Buttons can be cleared by clicking on the Clear Buttons button.
? 2007 Microchip Technology Inc.
DS51647A-page 57
相关PDF资料
DV164131 KIT STARTER PICKIT 3
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
DVA1001 ADAPTER FOR PIC16F716 18DIP
DVA1004 DEVICE ADAPTER 8/14/20DIP
E3R-D12GP-P RELAY RCVR PLUG-IN DIMMER
E3R-R12-3HOTP RCVR 3WIRE RELAY 120V
E3R-R12GP RCVR PLUG-IN RELAY
相关代理商/技术参数
DV164126 功能描述:开发板和工具包 - PIC / DSPIC USB Kit w/ PICkit LowPinCount RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164130 功能描述:电路内置调试器 PICkit 3 Starter Kit RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC16F1829 用于:PIC16F1829 核心:PIC 接口类型: 工作电源电压:
DV164131 功能描述:电路内置调试器 PICkit 3 Debug Exprs RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164131 制造商:Microchip Technology Inc 功能描述:PICKIT 3 DEBUG EXPRESS
DV164131-XLP 制造商:Microchip Technology Inc 功能描述:KIT DEV PICKIT 3-XLP/NANOWAT
DV164132 功能描述:开发板和工具包 - PIC / DSPIC F1 Evaluation Kit RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164132 制造商:Microchip Technology Inc 功能描述:PIC12F1xxx/PIC16F1xxx F1 Evaluation Kit
DV164133 功能描述:电源管理IC开发工具 Energy Harvesting Development Tool RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V