Revision cf1f756b include/alld_pca9544a.h

View differences:

include/alld_pca9544a.h
33 33
 */
34 34
typedef struct {
35 35
  apalI2CDriver_t* i2cd;  /**< @brief The I²C driver to use. */
36
  uint8_t addr;           /**< @brief The address of the PCA9544A for I2C communication, which is defined by the wiring of the A0, A1, A2 pins */
36
  apalI2Caddr_t addr;     /**< @brief The address of the PCA9544A for I2C communication, which is defined by the wiring of the A0, A1, A2 pins */
37 37
} PCA9544ADriver;
38 38

  
39 39
/**
40 40
 * @brief The fixed address prefix of any PCA9544A.
41 41
 */
42 42
enum {
43
  PCA9544A_LLD_I2C_ADDR_FIXED   = 0x70u,
44
  PCA9544A_LLD_I2C_ADDR_A0      = 0x01u,
45
  PCA9544A_LLD_I2C_ADDR_A1      = 0x02u,
46
  PCA9544A_LLD_I2C_ADDR_A2      = 0x04u,
43
  PCA9544A_LLD_I2C_ADDR_FIXED   = 0x0070u,
44
  PCA9544A_LLD_I2C_ADDR_A0      = 0x0001u,
45
  PCA9544A_LLD_I2C_ADDR_A1      = 0x0002u,
46
  PCA9544A_LLD_I2C_ADDR_A2      = 0x0004u,
47 47
};
48 48

  
49 49
/**

Also available in: Unified diff