Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.56 KB

parlio.rst

File metadata and controls

29 lines (19 loc) · 1.56 KB

Parallel IO

:link_to_translation:zh_CN:[中文]

Introduction

The Parallel IO peripheral is a general purpose parallel interface that can be used to connect to external devices such as LED matrix, LCD display, Printer and Camera. The peripheral has independent TX and RX units. Each unit can have up to 8 or 16 data signals plus 1 or 2 clock signals.1

The TX and RX driver of Parallel IO peripheral are designed separately, you can include driver/parlio_tx.h or driver/parlio_rx.h to use any of them.

Application Examples

  • Simple REG LED Matrix with HUB75 interface: peripherals/parlio/parlio_tx/simple_rgb_led_matrix.
  • Logic Analyzer: peripherals/parlio/parlio_rx/logic_analyzer.

API Reference

inc/parlio_tx.inc

inc/parlio_rx.inc

inc/components/esp_driver_parlio/include/driver/parlio_types.inc

inc/components/hal/include/hal/parlio_types.inc


  1. Different ESP chip series might have different numbers of PARLIO TX/RX instances, and the maximum data bus can also be different. For more details, please refer to {IDF_TARGET_NAME} Technical Reference Manual > Chapter Parallel IO (PARLIO) [PDF]. The driver does not forbid you from applying for more driver objects, but it returns error when all available hardware resources are used up. Please always check the return value when doing resource allocation (e.g., :cppparlio_new_tx_unit).