drivers/sensor/ite/tach/it51xxx: implement tachometer driver
Implement tachometer driver for ITE it51xxx series chip. Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
This commit is contained in:
parent
e6bb7fc6cf
commit
eb99158a80
10 changed files with 329 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#define IT51XXX_EC_FREQ KHZ(9200)
|
||||
|
||||
#ifdef _ASMLANGUAGE
|
||||
#define ECREG(x) x
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue