fan2 2.0.0.0

Data Structures

struct  fan2_t
 Click context object definition. More...
 
struct  fan2_cfg_t
 Click configuration structure definition. More...
 

Enumerations

enum  fan2_err_t {
  FAN2_OK = 0x0 , FAN2_ERR_INIT_DRV = 0xFA , FAN2_ERR_UNSUPPORTED_PIN , FAN2_ERR_REG_ADDR ,
  FAN2_ERR_NDATA , FAN2_ERR_TEMP_RANGE , FAN2_ERR_PWM_DUTY_RANGE
}
 Click error code definition. More...
 
enum  fan2_i2c_addr_t {
  FAN2_I2C_ADDR_000 = 0x50 , FAN2_I2C_ADDR_001 , FAN2_I2C_ADDR_010 , FAN2_I2C_ADDR_011 ,
  FAN2_I2C_ADDR_100 , FAN2_I2C_ADDR_101 , FAN2_I2C_ADDR_110 , FAN2_I2C_ADDR_111
}
 Click I2C address selection. More...
 

Detailed Description

Enumeration Type Documentation

◆ fan2_err_t

enum fan2_err_t

Click error code definition.

Enumerator
FAN2_OK 
FAN2_ERR_INIT_DRV 
FAN2_ERR_UNSUPPORTED_PIN 
FAN2_ERR_REG_ADDR 
FAN2_ERR_NDATA 
FAN2_ERR_TEMP_RANGE 
FAN2_ERR_PWM_DUTY_RANGE 

◆ fan2_i2c_addr_t

Click I2C address selection.

Enumerator
FAN2_I2C_ADDR_000 
FAN2_I2C_ADDR_001 
FAN2_I2C_ADDR_010 
FAN2_I2C_ADDR_011 
FAN2_I2C_ADDR_100 
FAN2_I2C_ADDR_101 
FAN2_I2C_ADDR_110 
FAN2_I2C_ADDR_111