Revision ef078306 source/alld_vcnl4020.c

View differences:

source/alld_vcnl4020.c
28 28

  
29 29
#if defined(AMIROLLD_CFG_USE_VCNL4020) || defined(__DOXYGEN__)
30 30

  
31
/*============================================================================*/
32
/* general single register access                                             */
33
/*============================================================================*/
31
/******************************************************************************/
32
/* LOCAL DEFINITIONS                                                          */
33
/******************************************************************************/
34

  
35
/******************************************************************************/
36
/* EXPORTED VARIABLES                                                         */
37
/******************************************************************************/
38

  
39
/******************************************************************************/
40
/* LOCAL TYPES                                                                */
41
/******************************************************************************/
42

  
43
/******************************************************************************/
44
/* LOCAL VARIABLES                                                            */
45
/******************************************************************************/
46

  
47
/******************************************************************************/
48
/* LOCAL FUNCTIONS                                                            */
49
/******************************************************************************/
50

  
51
/******************************************************************************/
52
/* EXPORTED FUNCTIONS                                                         */
53
/******************************************************************************/
54

  
55
/* general single register access */
34 56

  
35 57
/**
36 58
 * @brief Read the 8-bit data from any register.
......
68 90
  return apalI2CMasterTransmit(vcnld->i2cd, (apalI2Caddr_t)VCNL4020_LLD_I2C_ADDR, txbuf, 2, NULL, 0, timeout);
69 91
}
70 92

  
71
/*============================================================================*/
72
/* sensor result access                                                       */
73
/*============================================================================*/
93
/* sensor result access */
74 94

  
75 95
/**
76 96
 * @brief Read the result of the latest ambient light measurement.

Also available in: Unified diff