#include <gpio.h>
|
| virtual ESPDEPRECATED("Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0.", "2026.1.0") virtual std boo | is_internal )() |
| | Get a summary of this pin as a string.
|
| |
Definition at line 9 of file gpio.h.
◆ ZephyrGPIOPin()
| esphome::zephyr::ZephyrGPIOPin::ZephyrGPIOPin |
( |
const device * | gpio, |
|
|
int | gpio_size, |
|
|
const char * | pin_name_prefix ) |
|
inline |
◆ attach_interrupt()
| void esphome::zephyr::ZephyrGPIOPin::attach_interrupt |
( |
void(* | func )(void *), |
|
|
void * | arg, |
|
|
gpio::InterruptType | type ) const |
|
overrideprotectedvirtual |
◆ detach_interrupt()
| void esphome::zephyr::ZephyrGPIOPin::detach_interrupt |
( |
| ) |
const |
|
overridevirtual |
◆ digital_read()
| bool esphome::zephyr::ZephyrGPIOPin::digital_read |
( |
| ) |
|
|
overridevirtual |
◆ digital_write()
| void esphome::zephyr::ZephyrGPIOPin::digital_write |
( |
bool | value | ) |
|
|
overridevirtual |
◆ dump_summary()
| size_t esphome::zephyr::ZephyrGPIOPin::dump_summary |
( |
char * | buffer, |
|
|
size_t | len ) const |
|
overridevirtual |
◆ get_flags()
| gpio::Flags esphome::zephyr::ZephyrGPIOPin::get_flags |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ get_pin()
| uint8_t esphome::zephyr::ZephyrGPIOPin::get_pin |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ is_inverted()
| bool esphome::zephyr::ZephyrGPIOPin::is_inverted |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ pin_mode()
| void esphome::zephyr::ZephyrGPIOPin::pin_mode |
( |
gpio::Flags | flags | ) |
|
|
overridevirtual |
◆ set_flags()
| void esphome::zephyr::ZephyrGPIOPin::set_flags |
( |
gpio::Flags | flags | ) |
|
|
inline |
◆ set_inverted()
| void esphome::zephyr::ZephyrGPIOPin::set_inverted |
( |
bool | inverted | ) |
|
|
inline |
◆ set_pin()
| void esphome::zephyr::ZephyrGPIOPin::set_pin |
( |
uint8_t | pin | ) |
|
|
inline |
◆ setup()
| void esphome::zephyr::ZephyrGPIOPin::setup |
( |
| ) |
|
|
overridevirtual |
◆ to_isr()
◆ flags_
◆ gpio_
| const device* esphome::zephyr::ZephyrGPIOPin::gpio_ {nullptr} |
|
protected |
◆ gpio_size_
| uint8_t esphome::zephyr::ZephyrGPIOPin::gpio_size_ {} |
|
protected |
◆ inverted_
| bool esphome::zephyr::ZephyrGPIOPin::inverted_ {} |
|
protected |
◆ pin_
| uint8_t esphome::zephyr::ZephyrGPIOPin::pin_ |
|
protected |
◆ pin_name_prefix_
| const char* esphome::zephyr::ZephyrGPIOPin::pin_name_prefix_ {nullptr} |
|
protected |
◆ value_
| bool esphome::zephyr::ZephyrGPIOPin::value_ {false} |
|
protected |
The documentation for this class was generated from the following files: