MT_dialog建议使用"enum "类型而不是"bool"类型。
And How many return values using this function ?
And How many return values using this function ?
SDK Information:
Source Code
\…\DA1458x_SDK\5.0.3\ SDK\ platform\driver\gpio\gpio.c
description:
* @brief获取gpio状态。GPIO应该已经被预先配置为输入!
*
* @param[in] port GPIO port
* @param[in] pin GPIO pin
*
* @return bool高为TRUE,低为FALSE。& lt; & lt; = = = = = < / p > < p >致意。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / bool-enums-gpiogetpinstatus”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > bool枚举GPIO_GetPinStatus < / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580 typeof =“skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div >