Revision ef078306 include/alld_vcnl4020.h

View differences:

include/alld_vcnl4020.h
31 31

  
32 32
#if defined(AMIROLLD_CFG_USE_VCNL4020) || defined(__DOXYGEN__)
33 33

  
34
/**
35
 * @brief The VCNL4020 driver struct
36
 */
37
typedef struct {
38
  apalI2CDriver_t* i2cd;      /**< @brief The I2C Driver.     */
39
} VCNL4020Driver;
34
/******************************************************************************/
35
/* CONSTANTS                                                                  */
36
/******************************************************************************/
40 37

  
41 38
/**
42 39
 * @brief Fixed slave address to access the VCNL4020 via I2C.
......
53 50
 */
54 51
#define VCNL4020_LLD_INT_EDGE           APAL_GPIO_EDGE_FALLING
55 52

  
53
/******************************************************************************/
54
/* SETTINGS                                                                   */
55
/******************************************************************************/
56

  
57
/******************************************************************************/
58
/* CHECKS                                                                     */
59
/******************************************************************************/
60

  
61
/******************************************************************************/
62
/* DATA STRUCTURES AND TYPES                                                  */
63
/******************************************************************************/
64

  
65
/**
66
 * @brief The VCNL4020 driver struct
67
 */
68
typedef struct {
69
  apalI2CDriver_t* i2cd;      /**< @brief The I2C Driver.     */
70
} VCNL4020Driver;
71

  
56 72
/**
57 73
 * @brief Adresses for the several I/O registers of the VCNL4020.
58 74
 */
......
223 239
  VCNL4020_LLD_PMTADJREG_DEAD_DEFAULT         = 0x01u, /**< default modulation dead time */
224 240
} vcnl4020_lld_pmtadjreg_t;
225 241

  
242
/******************************************************************************/
243
/* MACROS                                                                     */
244
/******************************************************************************/
245

  
246
/******************************************************************************/
247
/* EXTERN DECLARATIONS                                                        */
248
/******************************************************************************/
249

  
226 250
#ifdef __cplusplus
227 251
extern "C" {
228 252
#endif
......
243 267
}
244 268
#endif
245 269

  
270
/******************************************************************************/
271
/* INLINE FUNCTIONS                                                           */
272
/******************************************************************************/
273

  
246 274
#endif /* defined(AMIROLLD_CFG_USE_VCNL4020) */
247 275

  
248 276
#endif /* AMIROLLD_VCNL4020_H */

Also available in: Unified diff