PCAL9555 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Classes | Namespaces
pcal9555.hpp File Reference

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

#include <array>
#include <cstddef>
#include <cstdint>
#include <span>
#include "pcal9555_detail.hpp"
#include "pcal9555_i2c_interface.hpp"
#include "pcal9555_registers.hpp"
#include "pcal9555_types.hpp"
#include "pcal9555_version.h"
#include "../src/pcal9555.ipp"

Go to the source code of this file.

Classes

class  pcal9555::PCAL9555< Port >
 Driver for one PCA9555 or PCAL9555A on a platform port. More...
 

Namespaces

namespace  pcal9555
 The PCAL9555 driver: everything it declares lives here; internals in detail.
 

Detailed Description

PCAL9555 driver: the one header to include.

pcal9555::PCAL9555<Port> drives one NXP PCA9555 or PCAL9555A 16-bit I2C GPIO expander through a platform port you write (see pcal9555_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.