Module nrf52::spi 
                   
                       [−]
                   
               [src]
Implementation of SPI for NRF52 using EasyDMA.
This file only implments 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:
- [x] set_client
- [x] init
- [x] is_busy
- [x] read_write_bytes
- [ ] write_byte
- [ ] read_byte
- [ ] read_write_byte
- [x] specify_chip_select
- [x] set_rate
- [x] get_rate
- [x] set_clock
- [x] get_clock
- [x] set_phase
- [x] get_phase
- [ ] hold_low
- [ ] release_low 
- Author: Jay Kickliter 
- Date: Sep 10, 2017 
Reexports
| use core::cell::Cell; | 
| use core::cmp; | 
| use core::ptr; | 
| use kernel::ReturnCode; | 
| use kernel::common::take_cell::TakeCell; | 
| use kernel::hil; | 
| use nrf5x::pinmux::Pinmux; | 
Modules
| registers | 
Structs
| SPIM | A SPI master device. | 
Statics
| SPIM0 | SPI master instance 0. | 
| SPIM1 | SPI master instance 1. | 
| SPIM2 | SPI master instance 2. |