TMPM4KxA Group Peripheral Driver User Manual  V1.0.4.0
Data Structures | Typedefs | Functions
txz_tspi.h File Reference

This file provides all the functions prototypes for TSPI driver. More...

Go to the source code of this file.

Data Structures

struct  tspi_receive8_t
 Receive event information structure definenition. More...
 
struct  tspi_receive16_t
 Receive event information structure definenition. More...
 
struct  tspi_receive32_t
 Receive event information structure definenition. More...
 
struct  tspi_receive_t
 Receive event information structure definenition. More...
 
struct  tspi_transmit8_t
 Transmit data information structure definenition. More...
 
struct  tspi_transmit16_t
 Transmit data information structure definenition. More...
 
struct  tspi_transmit32_t
 Transmit data information structure definenition. More...
 
struct  tspi_transmit_t
 Transmit data information structure definenition. More...
 
struct  tspi_control1_t
 Control Setting structure definenition. More...
 
struct  tspi_control2_t
 Control Setting structure definenition. More...
 
struct  tspi_control3_t
 Control Setting structure definenition. More...
 
struct  tspi_baudrate_t
 Clock setting structure definenition. More...
 
struct  tspi_fmtr0_t
 Format control0. More...
 
struct  tspi_fmtr1_t
 Format control1. More...
 
struct  tspi_status_t
 Status register. More...
 
struct  tspi_error_t
 Error flag. More...
 
struct  tspi_initial_setting_t
 Initial setting structure definenition. More...
 
struct  tspi_handle
 TSPI handle structure definenition. More...
 

Typedefs

typedef struct tspi_handle tspi_t
 TSPI handle structure definenition.
 

Functions

TXZ_Result tspi_init (tspi_t *p_obj)
 Initialize the TSPI object. More...
 
TXZ_Result tspi_deinit (tspi_t *p_obj)
 Release the TSPI object. More...
 
TXZ_Result tspi_format (tspi_t *p_obj)
 Data Format setting. More...
 
TXZ_Result tspi_master_write (tspi_t *p_obj, tspi_transmit_t *p_info, uint32_t timeout)
 Transmit data.. More...
 
TXZ_Result tspi_master_read (tspi_t *p_obj, tspi_receive_t *p_info, uint32_t timeout)
 Receive data. Blocking Communication. More...
 
TXZ_Result tspi_master_transfer (tspi_t *p_obj, tspi_transmit_t *p_info)
 Transmit data. Non-Blocking Communication. More...
 
TXZ_Result tspi_master_receive (tspi_t *p_obj, tspi_receive_t *p_info)
 Receive data. Non-Blocking Communication. More...
 
void tspi_irq_handler_transmit (tspi_t *p_obj)
 IRQ Handler for transmit. More...
 
void tspi_irq_handler_receive (tspi_t *p_obj)
 IRQ Handler for receive. More...
 
void tspi_error_irq_handler (tspi_t *p_obj)
 IRQ Handler for error. More...
 
TXZ_Result tspi_get_status (tspi_t *p_obj, uint32_t *p_status)
 Get status. More...
 
TXZ_Result tspi_get_error (tspi_t *p_obj, uint32_t *p_error)
 Get error information. More...
 
TXZ_Result tspi_error_clear (tspi_t *p_obj)
 Error information clear. More...
 
TXZ_Result tspi_discard_transmit (tspi_t *p_obj)
 Discard transmit. More...
 
TXZ_Result tspi_discard_receive (tspi_t *p_obj)
 Discard receive. More...
 

Detailed Description

This file provides all the functions prototypes for TSPI driver.

Version
V1.0.0.7
Date
2018-01-17 11:22:56

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LISENCE AGREEMENT.

(C)Copyright TOSHIBA MICROELECTRONICS CORPORATION 2017 All rights reserved