Sygaldry
Loading...
Searching...
No Matches
sygaldry::sygse::GPIO< pin_number > Struct Template Reference
Inheritance diagram for sygaldry::sygse::GPIO< pin_number >:
sygaldry::name_<"GPIO Pin"> sygaldry::author_<"Travis J. West"> sygaldry::copyright_<"Travis J. West (C) 2023"> sygaldry::description_<"An ESP-IDF GPIO API wrapper as a message-based `sygaldry` component">

Public Member Functions

 gpio_function (remove_interrupt_handler, gpio_isr_handler_remove, pin_number)
 
 gpio_function (enable_interrupt, gpio_intr_enable, pin_number)
 
 gpio_function (disable_interrupt, gpio_intr_disable, pin_number)
 
 gpio_function (reset, gpio_reset_pin, pin_number)
 
 gpio_function (rising_edge, gpio_set_intr_type, pin_number, GPIO_INTR_POSEDGE)
 
 gpio_function (falling_edge, gpio_set_intr_type, pin_number, GPIO_INTR_NEGEDGE)
 
 gpio_function (any_edge, gpio_set_intr_type, pin_number, GPIO_INTR_ANYEDGE)
 
 gpio_function (low_level, gpio_set_intr_type, pin_number, GPIO_INTR_LOW_LEVEL)
 
 gpio_function (high_level, gpio_set_intr_type, pin_number, GPIO_INTR_HIGH_LEVEL)
 
 gpio_function (high, gpio_set_level, pin_number, 1)
 
 gpio_function (low, gpio_set_level, pin_number, 0)
 
 gpio_function (disable_pin, gpio_set_direction, pin_number, GPIO_MODE_DISABLE)
 
 gpio_function (input_mode, gpio_set_direction, pin_number, GPIO_MODE_INPUT)
 
 gpio_function (output_mode, gpio_set_direction, pin_number, GPIO_MODE_OUTPUT)
 
 gpio_function (output_od_mode, gpio_set_direction, pin_number, GPIO_MODE_OUTPUT_OD)
 
 gpio_function (input_output_mode, gpio_set_direction, pin_number, GPIO_MODE_INPUT_OUTPUT)
 
 gpio_function (input_output_od_mode, gpio_set_direction, pin_number, GPIO_MODE_INPUT_OUTPUT_OD)
 
 gpio_function (enable_pullup, gpio_set_pull_mode, pin_number, GPIO_PULLUP_ONLY)
 
 gpio_function (enable_pulldown, gpio_set_pull_mode, pin_number, GPIO_PULLDOWN_ONLY)
 
 gpio_function (enable_pullup_and_pulldown, gpio_set_pull_mode, pin_number, GPIO_PULLUP_PULLDOWN)
 
 gpio_function (disable_pullup_and_pulldown, gpio_set_pull_mode, pin_number, GPIO_FLOATING)
 
 gpio_function (disable_pullup, gpio_pullup_dis, pin_number)
 
 gpio_function (disable_pulldown, gpio_pulldown_dis, pin_number)
 
 gpio_function (rising_edge_wakeup, gpio_wakeup_enable, pin_number, GPIO_INTR_POSEDGE)
 
 gpio_function (falling_edge_wakeup, gpio_wakeup_enable, pin_number, GPIO_INTR_NEGEDGE)
 
 gpio_function (any_edge_wakeup, gpio_wakeup_enable, pin_number, GPIO_INTR_ANYEDGE)
 
 gpio_function (low_level_wakeup, gpio_wakeup_enable, pin_number, GPIO_INTR_LOW_LEVEL)
 
 gpio_function (high_level_wakeup, gpio_wakeup_enable, pin_number, GPIO_INTR_HIGH_LEVEL)
 
 gpio_function (disable_wakeup, gpio_wakeup_disable, pin_number)
 
 gpio_function (wakeup_high, gpio_wakeup_enable, pin_number, GPIO_INTR_HIGH_LEVEL)
 
 gpio_function (wakeup_low, gpio_wakeup_enable, pin_number, GPIO_INTR_LOW_LEVEL)
 
 gpio_function (set_drive_weakest, gpio_set_drive_capability, pin_number, GPIO_DRIVE_CAP_0)
 
 gpio_function (set_drive_weak, gpio_set_drive_capability, pin_number, GPIO_DRIVE_CAP_1)
 
 gpio_function (set_drive_medium, gpio_set_drive_capability, pin_number, GPIO_DRIVE_CAP_2)
 
 gpio_function (set_drive_strong, gpio_set_drive_capability, pin_number, GPIO_DRIVE_CAP_DEFAULT)
 
 gpio_function (set_drive_strongest, gpio_set_drive_capability, pin_number, GPIO_DRIVE_CAP_3)
 

Static Public Member Functions

static auto interrupt_handler (void(*handler)(void *), void *args) noexcept
 
static void uninstall_isr_service () noexcept
 
static auto install_isr_service (int intr_alloc_flags) noexcept
 
static auto level () noexcept
 
static auto drive_capability () noexcept
 
static void init ()
 
- Static Public Member Functions inherited from sygaldry::name_<"GPIO Pin">
static _consteval auto name ()
 
- Static Public Member Functions inherited from sygaldry::author_<"Travis J. West">
static _consteval auto author ()
 
- Static Public Member Functions inherited from sygaldry::copyright_<"Travis J. West (C) 2023">
static _consteval auto copyright ()
 
- Static Public Member Functions inherited from sygaldry::description_<"An ESP-IDF GPIO API wrapper as a message-based `sygaldry` component">
static _consteval auto description ()
 

The documentation for this struct was generated from the following file: