Introduction

Atmel® MSL series is a compact, high power set of LED drivers. This application note explains how to use Atmel AVR® 8-bit microcontrollers to interface with these LED drivers. The MSL series of drivers feature either TWI or SPI interface to read and write to their internal registers. The Atmel LED driver library provides easy to use wrapper functions to read/write to those registers using any AVR 8-bit microcontroller as master. This library supports both TWI and SPI interfaces. The table below shows the interfaces supported by this library for each AVR.
Table . Interfaces Supported by the Atmel LED Driver Library
MicrocontrollerInterface
megaAVRTWI
XMEGATWI
tinyAVRSPI, USI (SPI)