You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found several very useful asm instructions for bitbang that should probably be placed in a common and accessible location.
Let me know of a great spot to place these and I will create a pull for them. Also provide feedback on formatting to better fit in with this code base.
one is CCOUNT, this is similar to the ARM CYCCNT, it is the count of cycles.
the other is a true enable and disable interrupts. The current version do not block the level 14 interrupts so this can cause problems. These should be used sparingly but are required for libraries like NeoPixels.
You can declare those functions in Arduino.h or Esp.h.
I would suggest naming them with xt_ prefix rather than esp8266_ because these are xtensa-specific, not chip-specific.
I have found several very useful asm instructions for bitbang that should probably be placed in a common and accessible location.
Let me know of a great spot to place these and I will create a pull for them. Also provide feedback on formatting to better fit in with this code base.
one is CCOUNT, this is similar to the ARM CYCCNT, it is the count of cycles.
the other is a true enable and disable interrupts. The current version do not block the level 14 interrupts so this can cause problems. These should be used sparingly but are required for libraries like NeoPixels.
The text was updated successfully, but these errors were encountered: