Rishka
RISC-V virtual runtime in C/C++ made for ESP32-WROVER
int.h File Reference

Header file for interrupt handling in Rishka applications. More...

#include <librishka/types.h>

Go to the source code of this file.

Classes

class  Int
 Class for handling interrupt operations in Rishka applications. More...
 

Enumerations

enum  int_mode_t { INT_CHANGE = 0x1 , INT_FAILING = 0x2 , INT_RISING = 0x3 }
 Enum representing interrupt modes for GPIO pins. More...
 

Detailed Description

Header file for interrupt handling in Rishka applications.

Author
Nathanne Isip

This header file defines the Int class, which provides functionalities for managing interrupts on ESP32-WROVER microcontrollers.

Enumeration Type Documentation

◆ int_mode_t

enum int_mode_t

Enum representing interrupt modes for GPIO pins.

This enum specifies the interrupt modes available for configuring GPIO pin interrupts.

  • INT_CHANGE: Interrupt triggered on pin state change.
  • INT_FAILING: Interrupt triggered on falling edge.
  • INT_RISING: Interrupt triggered on rising edge.
Enumerator
INT_CHANGE 

Interrupt triggered on pin state change

INT_FAILING 

Interrupt triggered on falling edge

INT_RISING 

Interrupt triggered on rising edge