LTR-303ALS: Fixed interrupt generation.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
parent
23ff8ae04f
commit
11283beab7
|
@ -43,7 +43,7 @@
|
|||
#define ALS_REG_STATUS_DATA_Pos (2U)
|
||||
#define ALS_REG_STATUS_DATA_Msk (1U << ALS_REG_STATUS_DATA_Pos)
|
||||
|
||||
#define ALS_REG_INTERRUPT_MODE_Pos (0U)
|
||||
#define ALS_REG_INTERRUPT_MODE_Pos (1U)
|
||||
#define ALS_REG_INTERRUPT_MODE_Msk (1U << ALS_REG_INTERRUPT_MODE_Pos)
|
||||
|
||||
#define ALS_REG_INTERRUPT_POL_Pos (1U)
|
||||
|
|
Loading…
Reference in New Issue