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

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

#include <p33CH512MP506.h>
#include <libpic30.h>
#include "drv_spi.h"
#include "driver/can/drv_can.h"
#include "system/pins.h"
#include "spi_client/spi1.h"
#include "dma/dma.h"
#include "timer/timer_interface.h"
#include "timer/sccp1.h"
#include "timer/sccp2.h"
+ Include dependency graph for drv_spi.c:

Go to the source code of this file.

Data Structures

struct  DRV_SPI_t
 

Functions

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

Variables

static DRV_SPI_t selfSpi
 

Detailed Description

SPI Driver Source File

Definition in file drv_spi.c.

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:

◆ SPI_Synchronize()

static void SPI_Synchronize ( void )
static

Definition at line 238 of file drv_spi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ selfSpi

DRV_SPI_t selfSpi
static

Definition at line 67 of file drv_spi.c.