mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-21 10:25:54 +08:00
更新硬件SDK
This commit is contained in:
35
sdk/合宙/air780e/csdk/wu_mei/inc/relay.h
Normal file
35
sdk/合宙/air780e/csdk/wu_mei/inc/relay.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
|
||||
#include "header.h"
|
||||
/**************************************************************************
|
||||
|
||||
Copyright: <20><><EFBFBD>˽<EFBFBD>
|
||||
|
||||
Author: <20><><EFBFBD>˽<EFBFBD> 1066950103@qq.com
|
||||
|
||||
Date: 2022-11-19
|
||||
|
||||
Description: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>̵<EFBFBD><CCB5><EFBFBD>ͷ<EFBFBD>ļ<EFBFBD>
|
||||
|
||||
**************************************************************************/
|
||||
#include "luat_gpio.h"
|
||||
#include "platform_define.h"
|
||||
|
||||
|
||||
/*
|
||||
*Summary:<3A>̵<EFBFBD><CCB5><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>
|
||||
*Parameters:
|
||||
*Return:
|
||||
*/
|
||||
void relayInit();
|
||||
|
||||
/*
|
||||
*Summary:<3A>̵<EFBFBD><CCB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*Parameters:
|
||||
* nRelayIndex:<3A>̵<EFBFBD><CCB5><EFBFBD><EFBFBD><EFBFBD>
|
||||
* nValue <20><><EFBFBD><EFBFBD>ֵ
|
||||
*Return: 0 ʧ<><CAA7> 1<>ɹ<EFBFBD>
|
||||
*/
|
||||
unsigned char relayControl(unsigned char nRelayIndex, unsigned char nValue);
|
||||
|
||||
unsigned char relayGetValue(unsigned char nRelayIndex);
|
||||
Reference in New Issue
Block a user