Synergy Software Package User's Manual
sci_spi_instance_ctrl_t Struct Reference

#include <r_sci_spi.h>

Data Fields

uint8_t channel
 Channel number to be used.
 
uint32_t channel_opened
 Internal flag to indicate the peripheral was initialized.
 
transfer_instance_t const * p_transfer_tx
 To use SPI DTC/DMA write transfer.
 
transfer_instance_t const * p_transfer_rx
 To use SPI DTC/DMA read transfer.
 
void(* p_callback )(spi_callback_args_t *p_args)
 Pointer to user callback function.
 
void const * p_context
 Pointer to the higher level device context.
 
void * p_reg
 Base register for this channel.
 
IRQn_Type rxi_irq
 Receive IRQ number.
 
IRQn_Type txi_irq
 Transmit IRQ number.
 
IRQn_Type tei_irq
 Transmit end IRQ number.
 
IRQn_Type eri_irq
 Error IRQ number.
 
bsp_lock_t resource_lock_tx_rx
 

Detailed Description

SPI instance control block. DO NOT INITIALIZE.

Field Documentation

◆ resource_lock_tx_rx

bsp_lock_t sci_spi_instance_ctrl_t::resource_lock_tx_rx

Resource lock for transmission/reception


The documentation for this struct was generated from the following file: