Skip to content

Change SAMD21 fastpin to use PORT_IOBUS instead of PORT - #678

Merged
focalintent merged 1 commit into
FastLED:masterfrom
eClay:d21_iobus
Jan 20, 2019
Merged

focalintent merged 1 commit into
FastLED:masterfrom
eClay:d21_iobus

Conversation

@kezorm

@kezorm kezorm commented Nov 13, 2018

Copy link
Copy Markdown
Contributor

SAM D21 processor has single-cycle I/O port access available at PORT_IOBUS registers. The PORT registers go through bus matrix and thus take a few extra cycles even under ideal conditions. See section 23.5.10 - CPU Local Bus of SAM D21 datasheet.

@focalintent

Copy link
Copy Markdown
Contributor

Ah - excellent find, thank you! I’ll merge this in shortly

@focalintent
focalintent merged commit ad5947d into FastLED:master Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants