nrf52

Module spi

Source
Expand description

Implementation of SPI for NRF52 using EasyDMA.

This file only implements support for the three SPI master (SPIM) peripherals, and not SPI slave (SPIS).

Although kernel::hil::spi::SpiMaster is implemented for SPIM, only the functions marked with x are fully defined:

  • ✓ set_client
  • ✓ init
  • ✓ is_busy
  • ✓ read_write_bytes
  • write_byte
  • read_byte
  • read_write_byte
  • ✓ specify_chip_select
  • ✓ set_rate
  • ✓ get_rate
  • ✓ set_polarity
  • ✓ get_polarity
  • ✓ set_phase
  • ✓ get_phase
  • hold_low
  • release_low

§Author

  • Author: Jay Kickliter
  • Date: Sep 10, 2017

Structs§

  • A SPI master device.

Enums§

  • An enum representing all allowable frequency register values.