mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-22 09:23:16 +00:00
improve formatting & timing slightly
This commit is contained in:
parent
d1a3eb4b58
commit
079ec33134
1 changed files with 13 additions and 8 deletions
|
|
@ -194,6 +194,11 @@ bio_code!(ws2812b_kernel, WS2812B_START, WS2812B_END,
|
|||
"and x13, x12, x10", // the bit we're contemplating is at bit 23 position, extract it into x13
|
||||
"bne x13, x0, 40f", // if 1, go to 40f, where the 1 routine is
|
||||
|
||||
"mv x20, x0", // snap to quantum before doing the send routine - this improves timing uniformity of high pulses
|
||||
// at the expense of T1L time being a little out of spec, but this is better-tolerated than T0H time being variable.
|
||||
// this quantum snap has to be introduced here because snap quantum to output makes the ws2812 driver not
|
||||
// composable with other BIO applications
|
||||
|
||||
// zero routine
|
||||
// 2 hi
|
||||
"mv x22, x4", // sets to 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue