commit ef07830648a426d709401d56c2a9d400f742684a
Author: Thomas Schöpping <tschoepp@cit-ec.uni-bielefeld.de>
Date:   Mon Feb 4 17:34:42 2019 +0100

    Applied a file structure template to all sriver sources.

diff --git a/include/alld_a3906.h b/include/alld_a3906.h
index 899ad72..7f5f861 100644
--- a/include/alld_a3906.h
+++ b/include/alld_a3906.h
@@ -31,11 +31,27 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_A3906) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief Active state of power pin.
  */
 #define A3906_LLD_POWER_PIN_ACTIVE_STATE  APAL_GPIO_ACTIVE_HIGH
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief A3906 driver struct.
  */
@@ -51,6 +67,13 @@ typedef enum {
   A3906_LLD_POWER_ON  = 0x01,   /**< 'power on' state   */
 } a3906_lld_power_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
 
 #ifdef __cplusplus
 extern "C" {
@@ -62,6 +85,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_A3906) */
 
 #endif /* AMIROLLD_A3906_H */
diff --git a/include/alld_at24c01bn-sh-b.h b/include/alld_at24c01bn-sh-b.h
index 849917e..7f1822a 100644
--- a/include/alld_at24c01bn-sh-b.h
+++ b/include/alld_at24c01bn-sh-b.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_AT24C01BN) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief Memory size of the EEPROM in bits.
  */
@@ -63,6 +67,19 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define AT24C01BN_LLD_I2C_MAXFREQUENCY_5V   1000000
 
+
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The AT24C01BN driver struct
  */
@@ -81,6 +98,14 @@ enum {
   AT24C01BN_LLD_I2C_ADDR_A2         = 0x0004u,
 };
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -93,6 +118,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_AT24C01BN) */
 
 #endif /* AMIROLLD_AT24C01BN_H */
diff --git a/include/alld_at42qt1050.h b/include/alld_at42qt1050.h
index c2314e4..99ad960 100644
--- a/include/alld_at42qt1050.h
+++ b/include/alld_at42qt1050.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_AT42QT1050) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief   Maximum I2C frequency.
  */
@@ -52,6 +56,23 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define AT42QT1050_LLD_MAX_KEY_ACQUIRATION_TIME 8000
 
 /**
+ * @brief   The chip ID as can be read from the according register (constant).
+ */
+#define AT42QT1050_LLD_CHIPID                   0x46
+
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
+/**
  * @brief   The AT42QT1050Driver sruct.
  */
 typedef struct {
@@ -112,11 +133,6 @@ typedef enum {
 } at42qt1050_lld_register_t;
 
 /**
- * @brief   The chip ID as can be read from the according register (constant).
- */
-#define AT42QT1050_LLD_CHIPID                   0x46
-
-/**
  * @brief   Firmware version register structure.
  */
 typedef union {
@@ -210,6 +226,14 @@ typedef enum {
   AT42QT1050_LLD_RESETCALIBRATE_RESET     = 0x80u,
 } at42qt1050_lld_resetcalibratereg_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -227,6 +251,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_AT42QT1050) */
 
 #endif /* AMIROLLD_AT42QT1050_H */
diff --git a/include/alld_bq24103a.h b/include/alld_bq24103a.h
index a48b160..ca4dc86 100644
--- a/include/alld_bq24103a.h
+++ b/include/alld_bq24103a.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_BQ24103A) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief Active state of enabled gpio.
  */
@@ -41,6 +45,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define BQ24103A_LLD_CHARGE_STATUS_GPIO_ACTIVE_STATE  APAL_GPIO_ACTIVE_HIGH
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The BQ24103A driver struct.
  */
@@ -65,6 +81,13 @@ typedef enum {
   BQ24103A_LLD_NOT_CHARGING = 0x00,     /**< @brife status indicating that the battery is not being charged */
 } bq24103a_lld_charge_state_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
 
 #ifdef __cplusplus
 extern "C" {
@@ -76,6 +99,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_BQ24103A) */
 
 #endif /* AMIROLLD_BQ24103A_H */
diff --git a/include/alld_bq27500.h b/include/alld_bq27500.h
index 6a30988..f178b37 100644
--- a/include/alld_bq27500.h
+++ b/include/alld_bq27500.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_BQ27500) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief fixed I2C address
  */
@@ -61,6 +65,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define BQ27500_LLD_BATGOOD_ACTIVE_STATE  APAL_GPIO_ACTIVE_LOW
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief Possible standard commands.
  */
@@ -229,6 +245,14 @@ typedef enum {
   BQ27500_LLD_BATTERY_NOT_GOOD = 0x00,
 } bq27500_lld_batgood_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -244,6 +268,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_BQ27500) */
 
 #endif /* AMIROLLD_BQ27500_H */
diff --git a/include/alld_hmc5883l.h b/include/alld_hmc5883l.h
index 1ffa171..8a035e9 100644
--- a/include/alld_hmc5883l.h
+++ b/include/alld_hmc5883l.h
@@ -31,12 +31,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_HMC5883L) || defined(__DOXYGEN__)
 
-/**
- * @brief The HMC5883L driver struct
- */
-typedef struct {
-  apalI2CDriver_t* i2cd;        /**< @brief The I2C Driver */
-} HMC5883LDriver;
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
 
 /**
  * @brief Constant I2C address.
@@ -53,6 +50,25 @@ typedef struct {
  */
 #define HMC5883L_LLD_INT_EDGE           APAL_GPIO_EDGE_FALLING
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
+/**
+ * @brief The HMC5883L driver struct
+ */
+typedef struct {
+  apalI2CDriver_t* i2cd;        /**< @brief The I2C Driver */
+} HMC5883LDriver;
+
 /**
  * @brief Register enum.
  */
@@ -172,6 +188,14 @@ typedef struct {
   hmc5883l_lld_measurement_mode_t mode;
 } hmc5883l_lld_config_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -189,6 +213,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_HMC5883L) */
 
 #endif /* AMIROLLD_HMC5883L_H */
diff --git a/include/alld_ina219.h b/include/alld_ina219.h
index 6321807..c18e7b6 100644
--- a/include/alld_ina219.h
+++ b/include/alld_ina219.h
@@ -31,11 +31,27 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_INA219) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief Maximum I2C frequency.
  */
 #define INA219_LLD_I2C_MAXFREQUENCY   2560000
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief I2C address masks.
  */
@@ -152,6 +168,14 @@ typedef struct {
   ina219_lld_cfg_t *config;
 } INA219Driver;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -172,6 +196,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_INA219) */
 
 #endif /* AMIROLLD_INA219_H */
diff --git a/include/alld_l3g4200d.h b/include/alld_l3g4200d.h
index 74d95d5..9ebf249 100644
--- a/include/alld_l3g4200d.h
+++ b/include/alld_l3g4200d.h
@@ -31,11 +31,27 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_L3G4200D) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief A rising edge indicates an interrupt.
  */
 #define L3G4200D_LLD_INT_EDGE   APAL_GPIO_EDGE_RISING
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The L3G4200D driver struct
  */
@@ -299,6 +315,14 @@ typedef union {
   } registers;
 } l3g4200d_lld_int_cfg_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -319,6 +343,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_L3G4200D) */
 
 #endif /* AMIROLLD_L3G4200D_H */
diff --git a/include/alld_led.h b/include/alld_led.h
index 6c8bb6d..747571d 100644
--- a/include/alld_led.h
+++ b/include/alld_led.h
@@ -31,11 +31,27 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_LED) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief Active state of LED GPIO (low active).
  */
 #define LED_LLD_GPIO_ACTIVE_STATE APAL_GPIO_ACTIVE_LOW
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief LED driver data structure.
  */
@@ -51,6 +67,14 @@ typedef enum {
   LED_LLD_STATE_ON  = 0x01,   /**< 'off' state of the LED */
 } led_lld_state_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -61,6 +85,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_LED) */
 
 #endif /* AMIROLLD_LED_H */
diff --git a/include/alld_lis331dlh.h b/include/alld_lis331dlh.h
index 28ccc2d..2543edd 100644
--- a/include/alld_lis331dlh.h
+++ b/include/alld_lis331dlh.h
@@ -31,11 +31,27 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_LIS331DLH) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief A falling edge indicates an interrupt.
  */
 #define LIS331DLH_LLD_INT_EDGE  APAL_GPIO_EDGE_FALLING
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The LIS331DLH driver struct
  */
@@ -242,6 +258,14 @@ typedef struct {
   uint8_t duration;
 } lis331dlh_lld_int_cfg_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -259,6 +283,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_LIS331DLH) */
 
 #endif /* AMIROLLD_LIS331DLH_H */
diff --git a/include/alld_ltc4412.h b/include/alld_ltc4412.h
index cdcaee2..37c0985 100644
--- a/include/alld_ltc4412.h
+++ b/include/alld_ltc4412.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_LTC4412) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief CTRL GPIO active state.
  */
@@ -41,6 +45,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define LTC4412_LLD_STAT_ACTIVE_STATE   APAL_GPIO_ACTIVE_HIGH
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief LTC4412 driver struct.
  */
@@ -59,6 +75,14 @@ typedef enum {
   LTC4412_LLD_STAT_ACTIVE   = 0x1,
 } ltc4412_lld_stat_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -69,6 +93,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_LTC4412) */
 
 #endif /* AMIROLLD_LTC4412_H */
diff --git a/include/alld_mpr121.h b/include/alld_mpr121.h
index 1991c54..bd44973 100644
--- a/include/alld_mpr121.h
+++ b/include/alld_mpr121.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_MPR121) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief Maximum I2C frequency.
  */
@@ -41,6 +45,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define MPR121_LLD_INT_EDGE           APAL_GPIO_EDGE_FALLING
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The MPR121 driver struct
  */
@@ -209,6 +225,14 @@ typedef enum {
   MPR121_LLD_AC_SKIP_CHRG_TIME_SRCH = 0x80u,
 } mpr121_lld_auto_config1_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -224,6 +248,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_MPR121) */
 
 #endif /* AMIROLLD_MPR121_H */
diff --git a/include/alld_pca9544a.h b/include/alld_pca9544a.h
index b8e9619..091eadf 100644
--- a/include/alld_pca9544a.h
+++ b/include/alld_pca9544a.h
@@ -31,11 +31,27 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_PCA9544A) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief Maximum I2C frequency.
  */
 #define PCA9544A_LLD_I2C_MAXFREQUENCY   400000
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The PCA9544ADriver struct
  */
@@ -94,6 +110,14 @@ typedef enum {
 
 typedef uint8_t pca9544a_lld_intstatus_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -106,6 +130,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_PCA9544A) */
 
 #endif /* AMIROLLD_PCA9544A_H */
diff --git a/include/alld_pcal6524.h b/include/alld_pcal6524.h
index a7ccce3..e739ae3 100644
--- a/include/alld_pcal6524.h
+++ b/include/alld_pcal6524.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_PCAL6524) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief   Maximum I2C frequency.
  */
@@ -41,6 +45,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define PCAL6524_LLD_INT_EDGE                   APAL_GPIO_EDGE_FALLING
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief   The PCAL6524Driver sruct.
  */
@@ -320,6 +336,14 @@ typedef enum {
   PCAL6524_LLD_SWITCHDEBOUNCE_DISABLED  = 0b0,
 } pcal6524_lld_switchdebounceenable_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -336,6 +360,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_PCAL6524) */
 
 #endif /* AMIROLLD_PCAL6524_H */
diff --git a/include/alld_pklcs1212e4001.h b/include/alld_pklcs1212e4001.h
index f768111..95f1a59 100644
--- a/include/alld_pklcs1212e4001.h
+++ b/include/alld_pklcs1212e4001.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_PKLCS1212E4001) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief   Specified frequency of the PKLCS1212E4001.
  */
@@ -46,6 +50,26 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define PKLCS1212E4001_LLD_FREQUENCY_MAX        6000
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -55,6 +79,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_PKLCS1212E4001) */
 
 #endif /* AMIROLLD_PKLCS1212E4001_H */
diff --git a/include/alld_tlc5947.h b/include/alld_tlc5947.h
index 0f9287b..2cac13a 100644
--- a/include/alld_tlc5947.h
+++ b/include/alld_tlc5947.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_TLC5947) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief   Active state of the BLANK signal.
  */
@@ -56,6 +60,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define TLC5947_LLD_BUFFER_SIZE                 (TLC5947_LLD_NUM_CHANNELS * TLC5947_LLD_PWM_RESOLUTION_BITS / 8)
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The TLC5947Driver struct
  */
@@ -81,6 +97,14 @@ typedef struct {
   uint8_t data[TLC5947_LLD_BUFFER_SIZE]; /**< The raw buffer data. */
 } tlc5947_lld_buffer_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -94,6 +118,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_TLC5947) */
 
 #endif /* AMIROLLD_TLC5947_H */
diff --git a/include/alld_tps2051bdbv.h b/include/alld_tps2051bdbv.h
index 36a314f..5276e62 100644
--- a/include/alld_tps2051bdbv.h
+++ b/include/alld_tps2051bdbv.h
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_TPS2051BDBV) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief   Enable pin active state.
  */
@@ -41,6 +45,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define TPS2051B_LLD_OVERCURRENT_ACTIVE_STATE   APAL_GPIO_ACTIVE_LOW
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The TPS2051B driver struct.
  */
@@ -65,6 +81,14 @@ typedef enum {
   TPS2051B_LLD_NO_OVERCURRENT = 0x00,
 } tps2051b_lld_overcurrent_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -75,6 +99,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_TPS2051BDBV) */
 
 #endif /* AMIROLLD_TPS2051B_H */
diff --git a/include/alld_tps62113.h b/include/alld_tps62113.h
index 3fb3fd9..26f5119 100644
--- a/include/alld_tps62113.h
+++ b/include/alld_tps62113.h
@@ -31,11 +31,27 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_TPS62113) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
+
 /**
  * @brief   Power pin active state.
  */
 #define TPS62113_LLD_POWER_ACTIVE_STATE   APAL_GPIO_ACTIVE_HIGH
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
 /**
  * @brief The TPS62113 driver struct.
  */
@@ -51,6 +67,14 @@ typedef enum {
   TPS62113_LLD_POWER_DISABLED = 0x00,
 } tps62113_lld_power_en_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -60,6 +84,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_TPS62113) */
 
 #endif /* AMIROLLD_TPS62113_H */
diff --git a/include/alld_vcnl4020.h b/include/alld_vcnl4020.h
index 80c506f..ebeacd9 100644
--- a/include/alld_vcnl4020.h
+++ b/include/alld_vcnl4020.h
@@ -31,12 +31,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_VCNL4020) || defined(__DOXYGEN__)
 
-/**
- * @brief The VCNL4020 driver struct
- */
-typedef struct {
-  apalI2CDriver_t* i2cd;      /**< @brief The I2C Driver.     */
-} VCNL4020Driver;
+/******************************************************************************/
+/* CONSTANTS                                                                  */
+/******************************************************************************/
 
 /**
  * @brief Fixed slave address to access the VCNL4020 via I2C.
@@ -53,6 +50,25 @@ typedef struct {
  */
 #define VCNL4020_LLD_INT_EDGE           APAL_GPIO_EDGE_FALLING
 
+/******************************************************************************/
+/* SETTINGS                                                                   */
+/******************************************************************************/
+
+/******************************************************************************/
+/* CHECKS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* DATA STRUCTURES AND TYPES                                                  */
+/******************************************************************************/
+
+/**
+ * @brief The VCNL4020 driver struct
+ */
+typedef struct {
+  apalI2CDriver_t* i2cd;      /**< @brief The I2C Driver.     */
+} VCNL4020Driver;
+
 /**
  * @brief Adresses for the several I/O registers of the VCNL4020.
  */
@@ -223,6 +239,14 @@ typedef enum {
   VCNL4020_LLD_PMTADJREG_DEAD_DEFAULT         = 0x01u, /**< default modulation dead time */
 } vcnl4020_lld_pmtadjreg_t;
 
+/******************************************************************************/
+/* MACROS                                                                     */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXTERN DECLARATIONS                                                        */
+/******************************************************************************/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -243,6 +267,10 @@ extern "C" {
 }
 #endif
 
+/******************************************************************************/
+/* INLINE FUNCTIONS                                                           */
+/******************************************************************************/
+
 #endif /* defined(AMIROLLD_CFG_USE_VCNL4020) */
 
 #endif /* AMIROLLD_VCNL4020_H */
diff --git a/source/alld_a3906.c b/source/alld_a3906.c
index a34c28c..99cc614 100644
--- a/source/alld_a3906.c
+++ b/source/alld_a3906.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_A3906) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Sets the power state of the A3906.
  * @param[in]   a3906d      The A3906 driver.
diff --git a/source/alld_at24c01bn-sh-b.c b/source/alld_at24c01bn-sh-b.c
index c25f410..0d1622f 100644
--- a/source/alld_at24c01bn-sh-b.c
+++ b/source/alld_at24c01bn-sh-b.c
@@ -30,6 +30,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string.h>
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Acknowledgement polling to check if a write operation finished.
  * @param[in]   at24c01bn The eeprom driver to use.
diff --git a/source/alld_at42qt1050.c b/source/alld_at42qt1050.c
index 8d59918..62e8de9 100644
--- a/source/alld_at42qt1050.c
+++ b/source/alld_at42qt1050.c
@@ -30,6 +30,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <math.h>
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief   Read 8bit data from any register.
  *
diff --git a/source/alld_bq24103a.c b/source/alld_bq24103a.c
index db1d96b..ff97fe3 100644
--- a/source/alld_bq24103a.c
+++ b/source/alld_bq24103a.c
@@ -27,6 +27,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_BQ24103A) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the value of the POWER_EN Gpio pin.
  * @param[in]   tpsd        bq24103a drivers
diff --git a/source/alld_bq27500.c b/source/alld_bq27500.c
index 2f69366..c2bff3e 100644
--- a/source/alld_bq27500.c
+++ b/source/alld_bq27500.c
@@ -30,6 +30,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string.h>
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the battery low Gpio pin.
  * @param[in]   bqd       The bq27500 driver
diff --git a/source/alld_hmc5883l.c b/source/alld_hmc5883l.c
index 464b1ea..3f4393f 100644
--- a/source/alld_hmc5883l.c
+++ b/source/alld_hmc5883l.c
@@ -30,6 +30,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string.h>
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Reads the registers starting from idetification register A.
  * @param[in]   hmcd        The HMC5883L driver to use.
diff --git a/source/alld_ina219.c b/source/alld_ina219.c
index f297d11..fd1cd73 100644
--- a/source/alld_ina219.c
+++ b/source/alld_ina219.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_INA219) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the value of one or more of the registers.
  * @param[in]   i2cd        i2c driver
diff --git a/source/alld_l3g4200d.c b/source/alld_l3g4200d.c
index 08f81cf..1743d23 100644
--- a/source/alld_l3g4200d.c
+++ b/source/alld_l3g4200d.c
@@ -30,6 +30,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string.h>
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the content of one or more registers.
  * @param[in]   l3gd      The L3G4200D driver to use.
diff --git a/source/alld_led.c b/source/alld_led.c
index 96d06d8..20dc868 100644
--- a/source/alld_led.c
+++ b/source/alld_led.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_LED) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Set the LED to a specific state.
  * @param[in]   ledp        The LED driver object.
diff --git a/source/alld_lis331dlh.c b/source/alld_lis331dlh.c
index 726c680..7917c72 100644
--- a/source/alld_lis331dlh.c
+++ b/source/alld_lis331dlh.c
@@ -30,6 +30,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string.h>
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the content of one or more registers.
  * @param[in]   lisd      The LIS331DLH driver to use.
diff --git a/source/alld_ltc4412.c b/source/alld_ltc4412.c
index 9f526f3..e1b8233 100644
--- a/source/alld_ltc4412.c
+++ b/source/alld_ltc4412.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_LTC4412) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the value of the PATH_DCEN Gpio pin.
  * @param[in]   tpsd        ltc4412 drivers
diff --git a/source/alld_mpr121.c b/source/alld_mpr121.c
index e56b00d..1ae2245 100644
--- a/source/alld_mpr121.c
+++ b/source/alld_mpr121.c
@@ -30,6 +30,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string.h>
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read one or more of the internal registers of the mpr121.
  * @param[in]   mprd    MPR121 Driver
diff --git a/source/alld_pca9544a.c b/source/alld_pca9544a.c
index 3c92a59..62ddc93 100644
--- a/source/alld_pca9544a.c
+++ b/source/alld_pca9544a.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_PCA9544A) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the control register of the PCA9544A.
  *
diff --git a/source/alld_pcal6524.c b/source/alld_pcal6524.c
index 38a0fa8..8acd682 100644
--- a/source/alld_pcal6524.c
+++ b/source/alld_pcal6524.c
@@ -30,15 +30,31 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string.h>
 
-/*============================================================================*/
-/* local constants and functions                                              */
-/*============================================================================*/
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
 
 #define _MAXIMUM_GROUP_SIZE           6
 
-/*============================================================================*/
-/* helper functions                                                           */
-/*============================================================================*/
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
 
 /**
  * @brief   Returns the size of the group for a specified command.
diff --git a/source/alld_pklcs1212e4001.c b/source/alld_pklcs1212e4001.c
index 93281b4..7fe4b6e 100644
--- a/source/alld_pklcs1212e4001.c
+++ b/source/alld_pklcs1212e4001.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_PKLCS1212E4001) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Check the configuration of the PWM for the correct frequency.
  * @param[in] pwm   The PWM driver to check.
diff --git a/source/alld_tlc5947.c b/source/alld_tlc5947.c
index f4f2a57..7df3b23 100644
--- a/source/alld_tlc5947.c
+++ b/source/alld_tlc5947.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_TLC5947) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief   Set the blank state of the TLC5947.
  * @param[in] tlc5947   The TLC5947 driver object.
diff --git a/source/alld_tps2051bdbv.c b/source/alld_tps2051bdbv.c
index b38d484..fc6ede6 100644
--- a/source/alld_tps2051bdbv.c
+++ b/source/alld_tps2051bdbv.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_TPS2051BDBV) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Set the laser_en GPIO pin.
  * @param[in]   tpsd        tps2051 driver
diff --git a/source/alld_tps62113.c b/source/alld_tps62113.c
index 9538e2c..59672cf 100644
--- a/source/alld_tps62113.c
+++ b/source/alld_tps62113.c
@@ -28,6 +28,30 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_TPS62113) || defined(__DOXYGEN__)
 
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
 /**
  * @brief Read the value of the POWER_EN Gpio pin.
  * @param[in]   tpsd        tps62113 drivers
diff --git a/source/alld_vcnl4020.c b/source/alld_vcnl4020.c
index f169f9e..0517788 100644
--- a/source/alld_vcnl4020.c
+++ b/source/alld_vcnl4020.c
@@ -28,9 +28,31 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #if defined(AMIROLLD_CFG_USE_VCNL4020) || defined(__DOXYGEN__)
 
-/*============================================================================*/
-/* general single register access                                             */
-/*============================================================================*/
+/******************************************************************************/
+/* LOCAL DEFINITIONS                                                          */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED VARIABLES                                                         */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL TYPES                                                                */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL VARIABLES                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* LOCAL FUNCTIONS                                                            */
+/******************************************************************************/
+
+/******************************************************************************/
+/* EXPORTED FUNCTIONS                                                         */
+/******************************************************************************/
+
+/* general single register access */
 
 /**
  * @brief Read the 8-bit data from any register.
@@ -68,9 +90,7 @@ vcnl4020_lld_writereg(const VCNL4020Driver* const vcnld, const vcnl4020_lld_rega
   return apalI2CMasterTransmit(vcnld->i2cd, (apalI2Caddr_t)VCNL4020_LLD_I2C_ADDR, txbuf, 2, NULL, 0, timeout);
 }
 
-/*============================================================================*/
-/* sensor result access                                                       */
-/*============================================================================*/
+/* sensor result access */
 
 /**
  * @brief Read the result of the latest ambient light measurement.
