25 #ifndef SIF_LTR303ALS_H
26 #define SIF_LTR303ALS_H
33 #define SIF_SAD_LTR303ALS 0x29
36 #define SIF_LTR303ALS_PARTID 0xA0
37 #define SIF_LTR303ALS_MANFID 0x05
47 #define SIF_LTR303ALS_MODE SIF_LTR303ALS_MODE_POLL_ONE_SHOT
50 #define SIF_LTR303ALS_TSTUP_POWERUP_MS 100
51 #define SIF_LTR303ALS_TSTUP_STANDBY_MS 10
109 #define SIF_LTR303ALS_GAIN LTR303ALS_GAIN_1X
110 #define SIF_LTR303ALS_TINT LTR303ALS_TINT_100
111 #define SIF_LTR303ALS_TMEAS LTR303ALS_TMEAS_200
sif_ltr303als_reg_address
Definition: ambient8_click.h:72
unsigned char u8_t
Definition: cascoda_types.h:46
unsigned short u16_t
Definition: cascoda_types.h:48
sif_ltr303als_tint
Definition: sif_ltr303als.h:86
u8_t SIF_LTR303ALS_ReadLight(u16_t *ch0, u16_t *ch1)
LTR303ALS: Read Light Measurement.
Definition: sif_ltr303als.c:170
sif_ltr303als_tmeas
Definition: sif_ltr303als.h:99
u8_t SIF_LTR303ALS_Initialise(void)
LTR303ALS: Initialise Sensor.
Definition: sif_ltr303als.c:108
sif_ltr303als_gain
Definition: sif_ltr303als.h:75
sif_ltr303als_mode
Definition: sif_ltr303als.h:41
u8_t SIF_LTR303ALS_Configure(u8_t gain, u8_t tint, u8_t tmeas)
LTR303ALS: Configure Sensor.
Definition: sif_ltr303als.c:150
@ LTR303ALS_TINT_150
Definition: sif_ltr303als.h:89
@ LTR303ALS_TINT_200
Definition: sif_ltr303als.h:90
@ LTR303ALS_TINT_50
Definition: sif_ltr303als.h:87
@ LTR303ALS_TINT_250
Definition: sif_ltr303als.h:91
@ LTR303ALS_TINT_350
Definition: sif_ltr303als.h:93
@ LTR303ALS_TINT_300
Definition: sif_ltr303als.h:92
@ LTR303ALS_TINT_100
Definition: sif_ltr303als.h:88
@ LTR303ALS_TINT_400
Definition: sif_ltr303als.h:94
@ REG_LTR303ALS_THRES_UP_1
Definition: sif_ltr303als.h:67
@ REG_LTR303ALS_STATUS
Definition: sif_ltr303als.h:64
@ REG_LTR303ALS_DATA_CH0_0
Definition: sif_ltr303als.h:62
@ REG_LTR303ALS_THRES_LOW_0
Definition: sif_ltr303als.h:68
@ REG_LTR303ALS_PART_ID
Definition: sif_ltr303als.h:58
@ REG_LTR303ALS_INTERRUPT
Definition: sif_ltr303als.h:65
@ REG_LTR303ALS_MEAS_RATE
Definition: sif_ltr303als.h:57
@ REG_LTR303ALS_MANUFAC_ID
Definition: sif_ltr303als.h:59
@ REG_LTR303ALS_DATA_CH1_0
Definition: sif_ltr303als.h:60
@ REG_LTR303ALS_CONTR
Definition: sif_ltr303als.h:56
@ REG_LTR303ALS_DATA_CH1_1
Definition: sif_ltr303als.h:61
@ REG_LTR303ALS_THRES_LOW_1
Definition: sif_ltr303als.h:69
@ REG_LTR303ALS_INT_PERS
Definition: sif_ltr303als.h:70
@ REG_LTR303ALS_DATA_CH0_1
Definition: sif_ltr303als.h:63
@ REG_LTR303ALS_THRES_UP_0
Definition: sif_ltr303als.h:66
@ LTR303ALS_TMEAS_50
Definition: sif_ltr303als.h:100
@ LTR303ALS_TMEAS_500
Definition: sif_ltr303als.h:103
@ LTR303ALS_TMEAS_200
Definition: sif_ltr303als.h:102
@ LTR303ALS_TMEAS_100
Definition: sif_ltr303als.h:101
@ LTR303ALS_TMEAS_2000
Definition: sif_ltr303als.h:105
@ LTR303ALS_TMEAS_1000
Definition: sif_ltr303als.h:104
@ LTR303ALS_GAIN_1X
Definition: sif_ltr303als.h:76
@ LTR303ALS_GAIN_48X
Definition: sif_ltr303als.h:80
@ LTR303ALS_GAIN_2X
Definition: sif_ltr303als.h:77
@ LTR303ALS_GAIN_4X
Definition: sif_ltr303als.h:78
@ LTR303ALS_GAIN_96X
Definition: sif_ltr303als.h:81
@ LTR303ALS_GAIN_8X
Definition: sif_ltr303als.h:79
@ SIF_LTR303ALS_MODE_POLL_ONE_SHOT
Definition: sif_ltr303als.h:42
@ SIF_LTR303ALS_MODE_CONTINUOUS
Definition: sif_ltr303als.h:43