nrf52840_pac

Module spim0

source
Expand description

Serial Peripheral Interface Master with EasyDMA 0

Re-exports§

Modules§

  • Configuration register
  • Polarity of CSN output
  • DCX configuration
  • Enable SPIM
  • End of RXD buffer and TXD buffer reached
  • End of RXD buffer reached
  • End of TXD buffer reached
  • Transaction started
  • SPI transaction has stopped
  • SPI frequency. Accuracy depends on the HFCLK source selected.
  • Cluster Unspecified
  • Disable interrupt
  • Enable interrupt
  • Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is greater than TXD.MAXCNT
  • Cluster Unspecified
  • Pin select for DCX signal
  • Cluster RXD EasyDMA channel
  • Shortcut register
  • Stall status for EasyDMA RAM accesses. The fields in this register is set to STALL by hardware whenever a stall occurres and can be cleared (set to NOSTALL) by the CPU.
  • Resume SPI transaction
  • Start SPI transaction
  • Stop SPI transaction
  • Suspend SPI transaction
  • Cluster TXD EasyDMA channel

Structs§

Type Aliases§

  • CONFIG (rw) register accessor: an alias for Reg<CONFIG_SPEC>
  • CSNPOL (rw) register accessor: an alias for Reg<CSNPOL_SPEC>
  • DCXCNT (rw) register accessor: an alias for Reg<DCXCNT_SPEC>
  • ENABLE (rw) register accessor: an alias for Reg<ENABLE_SPEC>
  • EVENTS_END (rw) register accessor: an alias for Reg<EVENTS_END_SPEC>
  • EVENTS_ENDRX (rw) register accessor: an alias for Reg<EVENTS_ENDRX_SPEC>
  • EVENTS_ENDTX (rw) register accessor: an alias for Reg<EVENTS_ENDTX_SPEC>
  • EVENTS_STARTED (rw) register accessor: an alias for Reg<EVENTS_STARTED_SPEC>
  • EVENTS_STOPPED (rw) register accessor: an alias for Reg<EVENTS_STOPPED_SPEC>
  • FREQUENCY (rw) register accessor: an alias for Reg<FREQUENCY_SPEC>
  • INTENCLR (rw) register accessor: an alias for Reg<INTENCLR_SPEC>
  • INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
  • ORC (rw) register accessor: an alias for Reg<ORC_SPEC>
  • PSELDCX (rw) register accessor: an alias for Reg<PSELDCX_SPEC>
  • SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
  • STALLSTAT (rw) register accessor: an alias for Reg<STALLSTAT_SPEC>
  • TASKS_RESUME (w) register accessor: an alias for Reg<TASKS_RESUME_SPEC>
  • TASKS_START (w) register accessor: an alias for Reg<TASKS_START_SPEC>
  • TASKS_STOP (w) register accessor: an alias for Reg<TASKS_STOP_SPEC>
  • TASKS_SUSPEND (w) register accessor: an alias for Reg<TASKS_SUSPEND_SPEC>