uploaded 3 days ago
C++ base peripheral component for ESP-IDF

readme

# Base Peripheral

[![Badge](https://components.espressif.com/components/espp/base_peripheral/badge.svg)](https://components.espressif.com/components/espp/base_peripheral)

The `espp::BasePeripheral` class is a base class for all peripherals. It
provides a common interface for all peripherals and is used to access the
peripheral's registers. It is primarily designed to be used as a base class for
peripheral classes that communicate using I2C (address-based) or SPI/SSI
(CS-based) protocols.

The base class provides an interface for specifying different communications
functions that the peripheral may use, as well as providing some base
implementations for common functionality such as reading / writing u8 and u16
values from / to a register.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/base_peripheral^1.0.1"

or download archive

Stats

  • Archive size
    Archive size ~ 4.92 KB
  • Downloaded in total
    Downloaded in total 626 times
  • Downloaded this version
    This version: 193 times

Badge

espp/base_peripheral version: 1.0.1
|