OpenBIC
OpenSource Bridge-IC
ast_tach.c File Reference
#include <drivers/pwm.h>
#include <drivers/sensor.h>
#include "sensor.h"
#include <logging/log.h>
#include "ast_tach.h"
Include dependency graph for ast_tach.c:

Functions

 LOG_MODULE_REGISTER (dev_ast_tach)
 
uint8_t ast_tach_read (sensor_cfg *cfg, int *reading)
 
uint8_t ast_tach_init (sensor_cfg *cfg)
 

Function Documentation

◆ ast_tach_init()

uint8_t ast_tach_init ( sensor_cfg cfg)

◆ ast_tach_read()

uint8_t ast_tach_read ( sensor_cfg cfg,
int *  reading 
)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( dev_ast_tach  )