TMPM4G(1) Group Peripheral Driver User Manual  V1.0.0.0
tspi_handle Struct Reference

TSPI handle structure definition. More...

#include <txz_tspi.h>

Data Fields

TSB_TSPI_TypeDef * p_instance
 
tspi_initial_setting_t init
 
uint32_t errcode
 
struct {
   uint32_t   rp
 
   tspi_transmit_t   info
 
   uint8_t   tx_allign
 
   void(*   handler )(uint32_t id, TXZ_Result result)
 
transmit
 Transmit Information. More...
 
struct {
   tspi_receive_t   info
 
   uint8_t   rx_allign
 
   void(*   handler )(uint32_t id, TXZ_Result
      result, tspi_receive_t *p_info)
 
receive
 Receive Information. More...
 

Detailed Description

TSPI handle structure definition.

Field Documentation

§ errcode

uint32_t errcode

ErrorCode

§ handler

void(* handler) (uint32_t id, TXZ_Result result, tspi_receive_t *p_info)

Transmit Event handler.

Receive Event handler.

§ info [1/2]

Transmit Data Information.

§ info [2/2]

Receive Data Information.

§ init

Initial setting.

§ p_instance

TSB_TSPI_TypeDef* p_instance

Registers base address.

§ receive

struct { ... } receive

Receive Information.

§ rp

uint32_t rp

Num of transmitted data.

§ rx_allign

uint8_t rx_allign

Receive Data length Information.

§ transmit

struct { ... } transmit

Transmit Information.

§ tx_allign

uint8_t tx_allign

Transmit Data length Information.


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