linux驱动sys调试节点生成
static ssize_t usb_otg_ctrl_store(struct device *dev,
struct device_attribute *attr,
const char *buf, size_t count)
{
int gpiovalue = 0;
int rlt;
printk("usb_otg_ctrl_store entered %s\n",buf);
rlt = sscanf(buf,"%d",&gpi...
原创
2020-12-21 16:36:18 ·
488 阅读 ·
0 评论