參數(shù)資料
型號(hào): ADM00310
廠商: Microchip Technology
文件頁數(shù): 6/44頁
文件大?。?/td> 0K
描述: BOARD EVAL FOR MCP3903 AFE
產(chǎn)品培訓(xùn)模塊: MCP3903 6-Channel Energy Measurement Analog Front End
設(shè)計(jì)資源: MCP3903 Eval Brd BOM
MCP3903 Eval Brd Schematic
標(biāo)準(zhǔn)包裝: 1
主要目的: 接口,模擬前端(AFE)
嵌入式: 是,MCU,16 位
已用 IC / 零件: MCP3903,PIC24F,PIC24H,dsPIC33,MCP2200
已供物品: 板,2 個(gè)模塊,線纜,CD,電源
MCP2200
DS22228B-page 14
2011 Microchip Technology Inc.
2.3.1.4
ConfigureMCP2200
Function:
bool SimpleIOClass::ConfigureIoDefaultOutput (unsigned long BaudRateParam, unsigned int RxLEDMode,
unsigned int TxLEDMode, bool FLOW, bool ULOAD, bool SSPND)
EXAMPLE 2-4:
2.3.1.5
fnHardwareFlowControl
Function:
bool SimpleIOClass::fnHardwareFlowControl (unsigned int onOff)
EXAMPLE 2-5:
Summary:
Configures the device.
Description:
Sets the default GPIO designation, baud rate, TX/RX LED modes, flow control.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
1.
IOMap
- A byte which represents the input/output state of the pins (each bit may be either a ‘1’ for input, and ‘0
for output.
2.
BaudRateParam
- the default communication baud rate.
3.
RxLEDMode
- can take one of the constant values (OFF, ON, TOGGLE, BLINKSLOW, BLINKFAST) to define the
behavior of the Rx LED.
OFF = 0
ON = 1
TOGGLE = 3
BLINKSLOW = 4
BLINKFAST = 5
4.
TxLEDMode
- can take one of the defined values (OFF, ON, TOGGLE, BLINKSLOW, BLINKFAST) in order to define the
behavior of the Tx LED.
5.
FLOW
- this parameter establishes the default flow control method (False - no HW flow control, True - RTS/CTS
flow control).
6.
ULOAD
- this parameter establishes when USB has loaded the configuration.
7.
SSPND
- this parameter establishes when USB send us the Suspend mode.
Returns:
This function returns True if the transmission is successful and returns False if the transmission fails.
Remarks:
None.
Summary:
Configures the flow control of the MCP2200. The flow control configuration will be stored in NVRAM.
Description:
Sets the flow control to HW flow control (RTS/CTS) or No flow control.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
onOff
:
1’ if HW flow control is required
0’ if no flow control is required
Returns:
This function returns True if the transmission is successful and returns False if the transmission fails.
Remarks:
Error code is returned in LastError.
if (SimpleIOClass::ConfigureMCP2200(0x43, 9600, BLINKSLOW, BLINKFAST, false, false, false)
== SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ”
if (SimpleIOClass::fnHardwareFlowControl(1) == SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
相關(guān)PDF資料
PDF描述
ELC-18B182L COIL CHOKE 1800UH RADIAL
GBM36DRTH CONN EDGECARD 72POS DIP .156 SLD
RCM12DRYF CONN EDGECARD 24POS DIP .156 SLD
RBM12DRTF-S13 CONN EDGECARD 24POS .156 EXTEND
M1BXA-4036J IDC CABLE - MSR40A/MC40G/X
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADM00313 功能描述:電源管理IC開發(fā)工具 73830L Li-Ion Battry Charger Eval Brd RoHS:否 制造商:Maxim Integrated 產(chǎn)品:Evaluation Kits 類型:Battery Management 工具用于評(píng)估:MAX17710GB 輸入電壓: 輸出電壓:1.8 V
ADM00317 功能描述:數(shù)據(jù)轉(zhuǎn)換 IC 開發(fā)工具 MCP47X6 PICtail Plus Daughter Board RoHS:否 制造商:Texas Instruments 產(chǎn)品:Demonstration Kits 類型:ADC 工具用于評(píng)估:ADS130E08 接口類型:SPI 工作電源電壓:- 6 V to + 6 V
ADM00333 功能描述:開發(fā)板和工具包 - PIC / DSPIC PIC18F87J72 Evaluation Board RoHS:否 制造商:Microchip Technology 產(chǎn)品:Starter Kits 工具用于評(píng)估:chipKIT 核心:Uno32 接口類型: 工作電源電壓:
ADM00344 功能描述:電源管理IC開發(fā)工具 RE46C190 Demo Board RoHS:否 制造商:Maxim Integrated 產(chǎn)品:Evaluation Kits 類型:Battery Management 工具用于評(píng)估:MAX17710GB 輸入電壓: 輸出電壓:1.8 V
ADM00345 功能描述:電源管理IC開發(fā)工具 3-Phase BLDC Snsrlss Fan Cntrllr RoHS:否 制造商:Maxim Integrated 產(chǎn)品:Evaluation Kits 類型:Battery Management 工具用于評(píng)估:MAX17710GB 輸入電壓: 輸出電壓:1.8 V