《单片机检测交流电流程序》由会员分享,可在线阅读,更多相关《单片机检测交流电流程序(5页珍藏版)》请在金锄头文库上搜索。
1、List of generated methods in project: ACVolCorrentTHIS TEXT DESCRIPTION IS GENERATED BY THE TOOL. DO NOT MODIFY IT.Module CS (bean BitIO)- CS_GetVal -Returns the value of the Input/Output bean. If the direction is input then the input value of the pin is readand returned. If the direction is output
2、then the last written value is returned (see propertyfor limitations).- CS_PutVal -Specified value is passed to the Input/Output bean. If the direction is input saves the value to a memory ora register, this value will be written to the pin after switching to the output mode (using SetDir(TRUE); see
3、 property for limitations). If the direction is output it writes the value to the pin. (Method isavailable only if the direction = _output_ or _input/output_).- CS_ClrVal -Clears (set to zero) the Input/Output bean. It is the same as PutVal(FALSE). (Method is available only if thedirection = _output
4、_ or _input/output_).- CS_SetVal -Sets (to one) the Input/Output bean. It is the same as PutVal(TRUE). (Method is available only if thedirection = _output_ or _input/output_).Module SID (bean BitIO)- SID_GetVal -Returns the value of the Input/Output bean. If the direction is input then the input val
5、ue of the pin isread and returned. If the direction is output then the last written value is returned (see property for limitations).- SID_PutVal -Specified value is passed to the Input/Output bean. If the direction is input saves the value to a memory ora register, this value will be written to the
6、 pin after switching to the output mode (using SetDir(TRUE); see property for limitations). If the direction is output it writes the value to the pin. (Method isavailable only if the direction = _output_ or _input/output_).- SID_ClrVal -Clears (set to zero) the Input/Output bean. It is the same as P
7、utVal(FALSE). (Method is available only ifthe direction = _output_ or _input/output_).- SID_SetVal -Sets (to one) the Input/Output bean. It is the same as PutVal(TRUE). (Method is available only if thedirection = _output_ or _input/output_).Module SCLK (bean BitIO)- SCLK_GetVal -Returns the value of
8、 the Input/Output bean. If the direction is input then the input value of the pin isread and returned. If the direction is output then the last written value is returned (see property for limitations).- SCLK_PutVal -Specified value is passed to the Input/Output bean. If the direction is input saves
9、the value to a memoryor a register, this value will be written to the pin after switching to the output mode (using SetDir(TRUE);see property for limitations). If the direction is output it writes the value to the pin. (Methodis available only if the direction = _output_ or _input/output_).- SCLK_Cl
10、rVal -Clears (set to zero) the Input/Output bean. It is the same as PutVal(FALSE). (Method is available only ifthe direction = _output_ or _input/output_).- SCLK_SetVal -Sets (to one) the Input/Output bean. It is the same as PutVal(TRUE). (Method is available only if thedirection = _output_ or _inpu
11、t/output_).Module AD1 (bean ADC)- AD1_Measure -This method performs one measurement on all channels that are set in the bean inspector. (Note: If the is more than one the conversion of A/D channels is performed specified number of times.)- AD1_GetValue16 -This method returns the last measured values
12、 of all channels justified to the left. Compared with method this method returns more accurate result if the is greater than 1 and is less than 16 bits. In addition, the user code dependency on is eliminated.Module LCD_light (bean BitIO)- LCD_light_GetVal -Returns the value of the Input/Output bean.
13、 If the direction is input then the input value of the pinis read and returned. If the direction is output then the last written value is returned (see property for limitations).- LCD_light_PutVal -Specified value is passed to the Input/Output bean. If the direction is input saves the value to amemo
14、ry or a register, this value will be written to the pin after switching to the output mode (usingSetDir(TRUE); see property for limitations). If the direction is output it writes the value tothe pin. (Method is available only if the direction = _output_ or _input/output_).- LCD_light_ClrVal -Clears
15、(set to zero) the Input/Output bean. It is the same as PutVal(FALSE). (Method is available onlyif the direction = _output_ or _input/output_).- LCD_light_SetVal -Sets (to one) the Input/Output bean. It is the same as PutVal(TRUE). (Method is available only if thedirection = _output_ or _input/output_).Module TI1 (bean TimerInt)- TI1_Enable -Enables the bean - it starts the timer. Events m