This is the generated driver source file for SEC_CORE1 driver. More...
#include <stddef.h>
#include <libpic30.h>
#include "../sec_core_types.h"
#include "../sec_core_interface.h"
#include "../sec_core1.h"
Go to the source code of this file.
Macros | |
#define | SECONDARY_IMAGE dspic33ch_totem_pole_single_phase_secondary_IL |
#define | SECONDARY_NUMBER 1 |
#define | _MTSIRQ _MSTIRQ |
Functions | |
void | SEC_CORE1_Initialize (void) |
This routine initializes the MSI driver. This routine must be called before any other MSI routine is called. This routine should only be called once during system initialization. | |
void | SEC_CORE1_Deinitialize (void) |
Deinitializes SEC_CORE1 to POR values. | |
void | SEC_CORE1_Start (void) |
This routine enables secondary core. | |
void | SEC_CORE1_Program (void) |
This routine programs secondary. | |
void | SEC_CORE1_InterruptRequestGenerate (void) |
This routine generates interrupt to SEC_CORE1. | |
bool | SEC_CORE1_IsInterruptRequestAcknowledged (void) |
This routine returns the status of interrupt request acknowledge from the SEC_CORE1. | |
void | SEC_CORE1_InterruptRequestComplete (void) |
This routine clears interrupt to SEC_CORE1. | |
bool | SEC_CORE1_IsInterruptRequested (void) |
This routine returns the status of interrupt request from the SEC_CORE1. | |
void | SEC_CORE1_InterruptRequestAcknowledge (void) |
This routine acknowledges interrupt received from SEC_CORE1. | |
void | SEC_CORE1_InterruptRequestAcknowledgeComplete (void) |
This routine clears acknowledge for interrupt received from SEC_CORE1. | |
enum SEC_CORE_RESET_CAUSE | SEC_CORE1_GetResetCause (void) |
This routine returns the cause for SEC_CORE1 reset. | |
void | SEC_CORE1_ResetCauseClear (enum SEC_CORE_RESET_CAUSE resetCause) |
This routine clears the cause for SEC_CORE1 reset. | |
enum SEC_CORE_SYSTEM_STATUS | SEC_CORE1_SystemStatusGet (void) |
This routine returns Secondary system status. | |
uint16_t | SEC_CORE1_FIFORead (uint16_t *pData, uint16_t wordCount) |
This routine reads FIFO data sent from the SEC_CORE1. | |
uint16_t | SEC_CORE1_FIFOWrite (uint16_t *pData, uint16_t wordCount) |
This routine transfers FIFO data to SEC_CORE1. | |
bool | SEC_CORE1_ProtocolWrite (enum SEC_CORE_PROTOCOLS protocolName, uint16_t *pData) |
This routine writes data to mailbox. | |
bool | SEC_CORE1_ProtocolRead (enum SEC_CORE_PROTOCOLS protocolName, uint16_t *pData) |
This routine reads data from mailbox. | |
Variables | |
unsigned char | dspic33ch_totem_pole_single_phase_secondary_IL [] |
const struct SEC_CORE_INTERFACE | MSIInterface |
Structure object of type SEC_CORE_INTERFACE with the custom name given by the user in the Melody Driver User interface. The default name e.g. Secondary1 can be changed by the user in the SEC_CORE user interface. This allows defining a structure with application specific name using the 'Custom Name' field. Application specific name allows the API Portability. | |
SEC_CORE1 Generated Driver Source File
Definition in file sec_core1.c.
#define _MTSIRQ _MSTIRQ |
Definition at line 148 of file sec_core1.c.
#define SECONDARY_IMAGE dspic33ch_totem_pole_single_phase_secondary_IL |
Definition at line 140 of file sec_core1.c.
#define SECONDARY_NUMBER 1 |
Definition at line 141 of file sec_core1.c.
|
extern |