mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
The regular port access is around 4 cycles, instead of the usual 2 cycles for a store instruction on Cortex-M0+. The IOBUS however is faster, I didn't measure exactly but I guess it's 2 cycles as expected. This fixes a bug in the WS2812 driver that only happens on samd21 chips: https://github.com/tinygo-org/drivers/issues/540pull/3757/head
Ayke van Laethem
1 year ago
committed by
Ron Evans
1 changed files with 8 additions and 4 deletions
Loading…
Reference in new issue