Bar Logo 3.8/7.6 kw Totem pole Demonstration Application (Part-No. (not specified))
 
Content
     
Loading...
Searching...
No Matches
drv_spi.h File Reference

This is the driver source file for spi builds upon mcc. More...

#include <xc.h>
#include <stdbool.h>
+ Include dependency graph for drv_spi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SPI_TIMEOUT   (1.0e-3)
 
#define SPI_TIMEOUT_IN_100us_TICKS   ((uint16_t)(SPI_TIMEOUT/100.0e-6))
 

Functions

void Drv_SPI_Reset_Timeout_Counter (uint16_t count)
 
void Drv_SPI_Timeout (void)
 
bool Drv_SPI_get_Connected_Flag (void)
 
bool Drv_SPI_get_ChecksumOK_Flag (void)
 
bool Drv_SPI_Checksum (void)
 
uint16_t * Drv_SPI_get_Adr_Data_Obj (void)
 

Detailed Description

SPI Driver Header File

Definition in file drv_spi.h.

Macro Definition Documentation

◆ SPI_TIMEOUT

#define SPI_TIMEOUT   (1.0e-3)

Definition at line 41 of file drv_spi.h.

◆ SPI_TIMEOUT_IN_100us_TICKS

#define SPI_TIMEOUT_IN_100us_TICKS   ((uint16_t)(SPI_TIMEOUT/100.0e-6))

Definition at line 44 of file drv_spi.h.

Function Documentation

◆ Drv_SPI_Checksum()

bool Drv_SPI_Checksum ( void )

Definition at line 172 of file drv_spi.c.

+ Here is the caller graph for this function:

◆ Drv_SPI_get_Adr_Data_Obj()

uint16_t * Drv_SPI_get_Adr_Data_Obj ( void )

Definition at line 131 of file drv_spi.c.

+ Here is the caller graph for this function:

◆ Drv_SPI_get_ChecksumOK_Flag()

bool Drv_SPI_get_ChecksumOK_Flag ( void )

Definition at line 117 of file drv_spi.c.

+ Here is the caller graph for this function:

◆ Drv_SPI_get_Connected_Flag()

bool Drv_SPI_get_Connected_Flag ( void )

Definition at line 102 of file drv_spi.c.

+ Here is the caller graph for this function:

◆ Drv_SPI_Reset_Timeout_Counter()

void Drv_SPI_Reset_Timeout_Counter ( uint16_t count)

Definition at line 87 of file drv_spi.c.

+ Here is the caller graph for this function:

◆ Drv_SPI_Timeout()

void Drv_SPI_Timeout ( void )

Definition at line 146 of file drv_spi.c.

+ Here is the call graph for this function: