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

Spi improvements #91

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Commits on Nov 28, 2023

  1. Improved SPI

    - Added SpiDataSize enum to allow for non 8-bit data transfers
    - Moved cr2 write after cr1 write, based on section 39.5.7 in
    the rm0440 manual
    - Added is_busy function to check if the SPI bus is busy
    - Added unchecked_send_u8 and unchecked_send_u16
    that writes to the data register but doesn't check the status
     register. It does check and wait for the busy bit to be low; without
     this check the data was not transmitting correctly.
    amcelroy committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    0f58440 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e1ad25 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Configuration menu
    Copy the full SHA
    3b47e7a View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    03b01cd View commit details
    Browse the repository at this point in the history