Revision 11500ad8

View differences:

include/alld_a3906.h
40 40
 * @brief A3906 driver struct.
41 41
 */
42 42
typedef struct {
43
  apalControlGpio_t* power_pin;   /**< @brief GPIO to enable/disable power of the A3906. */
43
  const apalControlGpio_t* power_pin;   /**< @brief GPIO to enable/disable power of the A3906. */
44 44
} A3906Driver;
45 45

  
46 46
/**
include/alld_bq24103a.h
45 45
 * @brief The BQ24103A driver struct.
46 46
 */
47 47
typedef struct {
48
  apalControlGpio_t* gpio_enabled;        /**< @brief GPIO to enable/disable the bq24103a */
49
  apalControlGpio_t* gpio_charge_status;  /**< @brief GPIO showing the status of the bq24103a */
48
  const apalControlGpio_t* gpio_enabled;        /**< @brief GPIO to enable/disable the bq24103a */
49
  const apalControlGpio_t* gpio_charge_status;  /**< @brief GPIO showing the status of the bq24103a */
50 50
} BQ24103ADriver;
51 51

  
52 52
/**
include/alld_bq27500.h
209 209
 */
210 210
typedef struct {
211 211
  apalI2CDriver_t* i2cd;            /**< @brief I2C driver to access the BQ27500 */
212
  apalControlGpio_t* gpio_batlow;   /**< @brief Gpio to indicate whether the battery is low  */
213
  apalControlGpio_t* gpio_batgood;  /**< @brief Gpio to indicate whether the battery is good */
212
  const apalControlGpio_t* gpio_batlow;   /**< @brief Gpio to indicate whether the battery is low  */
213
  const apalControlGpio_t* gpio_batgood;  /**< @brief Gpio to indicate whether the battery is good */
214 214
} BQ27500Driver;
215 215

  
216 216
/**
include/alld_led.h
40 40
 * @brief LED driver data structure.
41 41
 */
42 42
typedef struct {
43
  apalControlGpio_t* gpio;  /**< @brief The identifier of the GPIO.  */
43
  const apalControlGpio_t* gpio;  /**< @brief The identifier of the GPIO.  */
44 44
} LEDDriver;
45 45

  
46 46
/**
include/alld_ltc4412.h
45 45
 * @brief LTC4412 driver struct.
46 46
 */
47 47
typedef struct {
48
  apalControlGpio_t* gpio_ctrl;   /**< @brief Control GPIO */
49
  apalControlGpio_t* gpio_stat;   /**< @brief Status GPIO */
48
  const apalControlGpio_t* gpio_ctrl;   /**< @brief Control GPIO */
49
  const apalControlGpio_t* gpio_stat;   /**< @brief Status GPIO */
50 50
} LTC4412Driver;
51 51

  
52 52
typedef enum {
include/alld_tlc5947.h
61 61
 */
62 62
typedef struct {
63 63
  apalSPIDriver_t* spi_driver;    /**< @brief The SPI Driver.                           */
64
  apalControlGpio_t* blank_gpio;  /**< @brief The identifier of the BLANK signal GPIO.  */
65
  apalControlGpio_t* xlat_gpio;   /**< @brief The identifier of the XLAT signal GPIO.   */
64
  const apalControlGpio_t* blank_gpio;  /**< @brief The identifier of the BLANK signal GPIO.  */
65
  const apalControlGpio_t* xlat_gpio;   /**< @brief The identifier of the XLAT signal GPIO.   */
66 66
} TLC5947Driver;
67 67

  
68 68
/**
include/alld_tps2051bdbv.h
45 45
 * @brief The TPS2051B driver struct.
46 46
 */
47 47
typedef struct {
48
  apalControlGpio_t* enable;        /**< @brief GPIO to enable/disable the tps2051b. */
49
  apalControlGpio_t* overcurrent;   /**< @brief GPIO to indicate overcurrent */
48
  const apalControlGpio_t* enable;        /**< @brief GPIO to enable/disable the tps2051b. */
49
  const apalControlGpio_t* overcurrent;   /**< @brief GPIO to indicate overcurrent */
50 50
} TPS2051BDriver;
51 51

  
52 52
/**
include/alld_tps62113.h
40 40
 * @brief The TPS62113 driver struct.
41 41
 */
42 42
typedef struct {
43
  apalControlGpio_t* gpio_power;  /**< GPIO to turn power on/off */
43
  const apalControlGpio_t* gpio_power;  /**< GPIO to turn power on/off */
44 44
} TPS62113Driver;
45 45

  
46 46
/**

Also available in: Unified diff