EasyManua.ls Logo

Espressif ESP32-S2 - Two-Wire Automotive Interface (TWAI)

Espressif ESP32-S2
1695 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
uint8_t y_axis
Matrix button y axis position.
uint8_t index
Matrix button position index.
struct touch_matrix_message_t
Matrix message type.
Public Members
touch_matrix_event_t event
Matrix event.
touch_matrix_position_t position
Matrix position.
Macros
TOUCH_MATRIX_GLOBAL_DEFAULT_CONFIG()
Type Definitions
typedef touch_elem_handle_t touch_matrix_handle_t
Matrix button instance handle.
typedef void (*touch_matrix_callback_t)(touch_matrix_handle_t, touch_matrix_message_t *,
void *)
Matrix button callback type.
Enumerations
enum touch_matrix_event_t
Matrix button event type.
Values:
TOUCH_MATRIX_EVT_ON_PRESS
Matrix button Press event.
TOUCH_MATRIX_EVT_ON_RELEASE
Matrix button Press event.
TOUCH_MATRIX_EVT_ON_LONGPRESS
Matrix button LongPress event.
TOUCH_MATRIX_EVT_MAX
2.2.22 Two-Wire Automotive Interface (TWAI)
Overview
The Two-Wire Automotive Interface (TWAI) is a real-time serial communication protocol suited for automotive and
industrial applications. It is compatible with ISO11898-1 Classical frames, thus can support Standard Frame Format
(11-bit ID) and Extended Frame Format (29-bit ID). The ESP32-S2s peripherals contains a TWAI controller that
can be configured to communicate on a TWAI bus via an external transceiver.
Warning: The TWAI controller is not compatible with ISO11898-1 FD Format frames, and will interpret such
frames as errors.
This programming guide is split into the following sections:
Espressif Systems 442
Submit Document Feedback
Release v4.4

Table of Contents