PSoC 6 Peripheral Driver Library
cy_stc_smif_config_t Struct Reference

Description

The SMIF configuration structure.

Data Fields

uint32_t mode
 Specifies the mode of operation cy_en_smif_mode_t. More...
 
uint32_t deselectDelay
 Specifies the minimum duration of SPI de-selection between SPI transfers: More...
 
uint32_t rxClockSel
 Specifies the clock source for the receiver clock cy_en_smif_clk_select_t. More...
 
uint32_t blockEvent
 Specifies what happens when there is a Read from an empty RX FIFO or a Write to a full TX FIFO. More...
 

Field Documentation

◆ mode

uint32_t cy_stc_smif_config_t::mode

Specifies the mode of operation cy_en_smif_mode_t.

◆ deselectDelay

uint32_t cy_stc_smif_config_t::deselectDelay

Specifies the minimum duration of SPI de-selection between SPI transfers:

  • "0": 1 clock cycle.
  • "1": 2 clock cycles.
  • "2": 3 clock cycles.
  • "3": 4 clock cycles.
  • "4": 5 clock cycles.
  • "5": 6 clock cycles.
  • "6": 7 clock cycles.
  • "7": 8 clock cycles.

◆ rxClockSel

uint32_t cy_stc_smif_config_t::rxClockSel

Specifies the clock source for the receiver clock cy_en_smif_clk_select_t.

◆ blockEvent

uint32_t cy_stc_smif_config_t::blockEvent

Specifies what happens when there is a Read from an empty RX FIFO or a Write to a full TX FIFO.

cy_en_smif_error_event_t.