本文主要是介绍Linux 内核Voltage/Current Regulator 即调压限流框架,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
regulator 即校准器或者调节器
对应结构体为校准器或者调节器描述符
/* * struct regulator * * One for each consumer device. */ struct regulator { struct device *dev; struct list_head list; unsigned int always_on:1; unsigned int bypass:1; int uA_load; int min_uV; int max_uV; char *supply_name; struct device_attribute dev_attr; struct regulator_dev *rdev; struct dentry *debugfs; };
这篇关于Linux 内核Voltage/Current Regulator 即调压限流框架的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!