This is the generated driver source file for MAIN_CORE driver. More...
#include <stddef.h>
#include "../main_core_types.h"
#include "../main_core_interface.h"
#include "../main_core.h"
Go to the source code of this file.
Functions | |
void | MAIN_CORE_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 | MAIN_CORE_Deinitialize (void) |
Deinitializes MAIN_CORE to POR values. | |
void | MAIN_CORE_InterruptRequestGenerate (void) |
This routine generates interrupt to MAIN_CORE. | |
bool | MAIN_CORE_IsInterruptRequestAcknowledged (void) |
This routine returns the status of interrupt request acknowledge from the MAIN_CORE. | |
void | MAIN_CORE_InterruptRequestComplete (void) |
This routine clears interrupt to MAIN_CORE. | |
bool | MAIN_CORE_IsInterruptRequested (void) |
This routine returns the status of interrupt request from the MAIN_CORE. | |
void | MAIN_CORE_InterruptRequestAcknowledge (void) |
This routine acknowledges interrupt received from Main MSI. | |
void | MAIN_CORE_InterruptRequestAcknowledgeComplete (void) |
This routine clears acknowledge for interrupt received from Main MSI. | |
enum MAIN_CORE_SYSTEM_STATUS | MAIN_CORE_SystemStatusGet (void) |
This routine returns Main system status. | |
uint16_t | MAIN_CORE_FIFORead (uint16_t *pData, uint16_t wordCount) |
This routine reads FIFO data sent from the Main Core. | |
uint16_t | MAIN_CORE_FIFOWrite (uint16_t *pData, uint16_t wordCount) |
This routine transfers FIFO data to Main Core. | |
bool | MAIN_CORE_ProtocolWrite (enum MAIN_CORE_PROTOCOLS protocolName, uint16_t *pData) |
This routine writes data to mailbox. | |
bool | MAIN_CORE_ProtocolRead (enum MAIN_CORE_PROTOCOLS protocolName, uint16_t *pData) |
This routine reads data from mailbox. | |
Variables | |
const struct MAIN_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. | |
MAIN_CORE Generated Driver Source File
Definition in file main_core.c.