摘要:
#include // 标准 GPIO_API intgpio_request(unsigned gpio, const char *label); 获得并占有 GPIO>。在/proc/mem应该会有地... 阅读全文
摘要:
关于preempt_enable和 preempt_disable允许抢占和禁止抢占。例如:内核态程序和 中断处理程序的互斥因为中断是异步的(不只要何时发生中断,也即随时可能发生中断),因此如果内核态的程序使用了... 阅读全文
摘要:
static inline int device_init_wakeup(struct device *dev, bool val){ device_set_wakeup_capable(dev, val)... 阅读全文