Skip to main content

Crate ltr_329

Crate ltr_329 

Source
Expand description

A driver for the LTR329 Ambient Light Sensor (ALS).

The data sheet for the LTR329 can be found here

The flowchart below is based on the flowchart in Section 9 of the LTR329 datasheet and outlies the general operation of the chip.

          Device Power Up
                 │
                 ▼
             Wait 100 ms
                 │
                 ▼
             DLS Active
                 │
                 ▼
             Wait 10 ms
                 │
                 ▼
       Check Status Reg (0x8C)   ◄─┐
                 │                 │
                 ▼                 │
            New Data? ──── No ─────┘
                 │                 │
                Yes                │
                 │                 │
                 ▼                 │
          Read ALS data            │
                 │                 │
                 ▼                 │
            Take MCU Actions  ─────┘

Modules§

ltr_329
Driver for communicating with an LTR329 Ambient Light Sensor (ALS).