PICkit? Serial Analyzer User’s Guide
Description :
Attempts to perform I 2 C Write command using above parameters. If success-
ful, p_num_bytes_to_write bytes are written to the UUT beginning at
p_start_data_addr. Regardless of success or failure, the PICkit? status
packet is updated after the write attempt and stored for retrieval by the function
Get_Status_Packet.
10.3.11 PICkitS.Basic.Send_SPI_Receive_Cmd(byte
p_num_bytes_to_read, ref byte[] p_data_array, bool
p_first_cmd, bool p_last_cmd, ref string p_script_view)
Returns :
Inputs :
Description :
True if successful, False if not
byte p_num_bytes_to_read - number of bytes to byte[] p_data_array -
reference to byte array that will store retrieved data
bool p_first_cmd - flag for first command, set to true if this is the first (or only)
command in a group of commands. This will prepend the assert Chip Select
byte (0x8B) to the command
bool p_last_cmd - flag for last command, set to true if this is the last (or only)
command in a group of commands. This will append the de-assert Chip Select
byte (0x8C) to the command
string p_script_view - reference to a string to which will be copied a formatted
view of the command
Attempts to perform SPI read command using above parameters. If success-
ful, p_num_bytes_to_read is copied into p_data_array. It is the users respon-
sibility to ensure p_data_array has enough room. Regardless of success or
failure, the PICkit ? status packet is updated after the read attempt and stored
for retrieval by the function Get_Status_Packet.
10.3.12 PICkitS.Basic.Send_SPI_Send_Cmd(byte p_byte_count, ref
byte[] p_data, bool p_first_cmd, bool p_last_cmd, ref string
p_script_view)
Returns :
Inputs :
Description :
True if successful, False if not
byte p_byte_count - number of bytes to write
byte[] p_data_array - reference to byte array that holds data to be written
bool p_first_cmd - flag for first command, set to true if this is the first (or only)
command in a group of commands. This will prepend the assert Chip Select
byte (0x8B) to the command
bool p_last_cmd - flag for last command, set to true if this is the last (or only)
command in a group of commands. This will append the de-assert Chip Select
byte (0x8C) to the command
string p_script_view - reference to a string to which will be copied a formatted
view of the command
Attempts to perform SPI write command using above parameters.If success-
ful, p_num_bytes_to_write bytes are written to the UUT. Regardless of suc-
cess or failure, the PICkit ? status packet is updated after the write attempt
and stored for retrieval by the function Get_Status_Packet.
10.3.13 PICkitS.Basic.Send_USART_Cmd(byte p_byte_count, ref byte[]
p_data, ref string p_script_view)
DS51647A-page 98
Returns :
Inputs :
Description :
True if successful, False if not
byte p_bytes_count - number of bytes to send
byte[] p_data- data to send to USART bus
string p_script_view - reference to a string to which will be copied a formatted
view of the command
sends data from p_data array to USART bus.
? 2007 Microchip Technology Inc.
相关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