36#include <p33CH512MP506.h>
43#include "system/pins.h"
46#include "timer/timer_interface.h"
50#include "system/pins.h"
174 bool test_passed =
false;
179 uint16_t checksum = 0x0055;
180 for (i = 0; i < 3; i++)
205 return (test_passed);
241 SPI1CON1Lbits.SPIEN = 0;
271 }
while ((!IFS0bits.CCT1IF) && (!IFS1bits.CCT2IF));
281 SPI1CON1Lbits.SPIEN = 1;
This is the generated driver header file for the DMA driver.
This is the generated driver header file for the SPI1 driver.
This is the generated driver header file for the SCCP1-TIMER driver.
This is the generated driver header file for the SCCP2-TIMER driver.
bool Drv_SPI_get_Connected_Flag(void)
static void SPI_Synchronize(void)
void Drv_SPI_Reset_Timeout_Counter(uint16_t count)
void Drv_SPI_Timeout(void)
uint16_t * Drv_SPI_get_Adr_Data_Obj(void)
bool Drv_SPI_Checksum(void)
bool Drv_SPI_get_ChecksumOK_Flag(void)
This is the driver source file for spi builds upon mcc.
#define SPI_BusIdle_1us_Timer_Start
This macro defines the Custom Name for SCCP1_Timer_Start API.
#define SPI_Timeout_40us_Timer_Stop
This macro defines the Custom Name for SCCP2_Timer_Stop API.
#define SPI_BusIdle_1us_Timer_Stop
This macro defines the Custom Name for SCCP1_Timer_Stop API.
#define SPI_Timeout_40us_Timer_Start
This macro defines the Custom Name for SCCP2_Timer_Start API.
void DMA_Initialize(void)
Initializes the DMA module.
static void DMA_ChannelDisable(enum DMA_CHANNEL channel)
This inline function disables the DMA channel.
static void DMA_ChannelEnable(enum DMA_CHANNEL channel)
This inline function enables the DMA channel.
void SPI1_Initialize(void)
Initializes SPI1 module, using the given initialization data. This function must be called before any...