单片机检测交流电流程序

上传人:壹****1 文档编号:564427261 上传时间:2023-07-27 格式:DOCX 页数:5 大小:9.69KB
返回 下载 相关 举报
单片机检测交流电流程序_第1页
第1页 / 共5页
单片机检测交流电流程序_第2页
第2页 / 共5页
单片机检测交流电流程序_第3页
第3页 / 共5页
单片机检测交流电流程序_第4页
第4页 / 共5页
单片机检测交流电流程序_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《单片机检测交流电流程序》由会员分享,可在线阅读,更多相关《单片机检测交流电流程序(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

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 其它学术论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号