Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working SPI ISR optimizations with ~30% performance improvement #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 20, 2015

  1. Working SPI ISR optimizations with ~30% performance improvement and n…

    …o functional changes
    
    Replaced the existing loop enclosing a sequence of 8 calls to
    add_one_pin_to_byte() with the singe function send_spi_bytes(). Writing
    the whole send sequence in a single inline ASM allowed for pre-decrement
    indexing and some other smaller optimization in count checking and bit
    inversion.
    bigjosh committed Dec 20, 2015
    Configuration menu
    Copy the full SHA
    de0b0f4 View commit details
    Browse the repository at this point in the history