PCA9685 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Classes | Namespaces
pca9685.hpp File Reference

PCA9685 driver: the one header to include. More...

#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <span>
#include "pca9685_detail.hpp"
#include "pca9685_i2c_interface.hpp"
#include "pca9685_registers.hpp"
#include "pca9685_types.hpp"
#include "pca9685_version.h"
#include "../src/pca9685.ipp"

Go to the source code of this file.

Classes

class  pca9685::PCA9685< Port >
 Driver for one PCA9685 on a platform port. More...
 

Namespaces

namespace  pca9685
 The PCA9685 driver: everything it declares lives here; internals in detail.
 

Detailed Description

PCA9685 driver: the one header to include.

pca9685::PCA9685<Port> drives one NXP PCA9685 16-channel, 12-bit PWM controller through a platform port you write (see pca9685_i2c_interface.hpp). The driver has no platform code, allocates nothing, throws nothing, takes no lock and is not thread-safe: give each object one owner, or guard it with one mutex.

Section, table and figure numbers refer to the NXP PCA9685 product data sheet, Rev. 4 (16 April 2015).