Split interrupts code into HAL - part 1

* bl602 test

* w600 test

* simplify

* rtl clear

* t

* draft for beken etc

* draft w600

* fxes

* fxes bl602

* realtek

* fx bl_gpio_intmask

* xradio

* esp

* gpio_isr_handler_add cast

* not needed

* reorg

* fx

* ecr

* fxes

* almost?

* HAL_DetachInterrupt fx

* newline

* use hal_pins.h

* counter

* silly fx

* Update hal_pins.h

* XR FIX? HOW I DIDN'T SEE THAT EARLIER

* guard for double call of HAL_DetachInterrupt

* do not do much in interrupt handler routine, apply deltas in quick tick

* try w800 blindly

* try

* tls_clr_gpio_irq_status

* try intptr_t to see if it compiles

* call tls_clr_gpio_irq_status  first?

* fx 2 omg

* frgot

* change to pullup input by default, add partially counter_r

* more

* ADD POS/NEG EDGE FOR MORE PLATFORMS

* esp
This commit is contained in:
openshwprojects
2025-08-24 17:29:17 +02:00
committed by GitHub
parent e6dbea6007
commit 707bd127ac
5 changed files with 446 additions and 355 deletions

View File

@ -552,7 +552,8 @@ const char* htmlPinRoleNames[] = {
"DS1820_IO",
"PWM_ScriptOnly",
"PWM_ScriptOnly_n",
"error",
"Counter_f",
"Counter_r",
"error",
"error",
"error",