mirror of https://github.com/ARMmbed/mbed-os.git
PSOC6: update version of PDL IPC driver
parent
f45d701317
commit
e8300553af
|
@ -1,6 +1,6 @@
|
||||||
/***************************************************************************//**
|
/***************************************************************************//**
|
||||||
* \file cy_ipc_drv.h
|
* \file cy_ipc_drv.h
|
||||||
* \version 1.30
|
* \version 1.40
|
||||||
*
|
*
|
||||||
* Provides an API declaration of the IPC driver.
|
* Provides an API declaration of the IPC driver.
|
||||||
*
|
*
|
||||||
|
@ -81,8 +81,8 @@
|
||||||
* conduit to transfer messages or data to and from multiple processes or CPUs.
|
* conduit to transfer messages or data to and from multiple processes or CPUs.
|
||||||
*
|
*
|
||||||
* A pipe has two endpoints, one on each core. Each endpoint contains a dedicated
|
* A pipe has two endpoints, one on each core. Each endpoint contains a dedicated
|
||||||
* IPC channel and an interrupt. IPC channels 0-7 and IPC interrupts 0-7 are
|
* IPC channel and an interrupt. IPC channels 0-7(8 for the CYB064XX devices)
|
||||||
* reserved for system use.
|
* and IPC interrupts 0-7 are reserved for system use.
|
||||||
*
|
*
|
||||||
* The pipe also contains the number of clients it supports, and for each client
|
* The pipe also contains the number of clients it supports, and for each client
|
||||||
* a callback function. So the pipe can service a number of clients, each with a
|
* a callback function. So the pipe can service a number of clients, each with a
|
||||||
|
@ -251,6 +251,11 @@
|
||||||
* <table class="doxtable">
|
* <table class="doxtable">
|
||||||
* <tr><th>Version</th><th>Changes</th><th>Reason for Change</th></tr>
|
* <tr><th>Version</th><th>Changes</th><th>Reason for Change</th></tr>
|
||||||
* <tr>
|
* <tr>
|
||||||
|
* <td rowspan="1">1.40</td>
|
||||||
|
* <td>Moved cy_semaData structure to the RAM section called ".cy_sharedmem".</td>
|
||||||
|
* <td>Support Secure Boot devices.</td>
|
||||||
|
* </tr>
|
||||||
|
* <tr>
|
||||||
* <td rowspan="3">1.30</td>
|
* <td rowspan="3">1.30</td>
|
||||||
* <td>Flattened the organization of the driver source code into the single source directory and the single include directory.</td>
|
* <td>Flattened the organization of the driver source code into the single source directory and the single include directory.</td>
|
||||||
* <td>Driver library directory-structure simplification.</td>
|
* <td>Driver library directory-structure simplification.</td>
|
||||||
|
@ -338,7 +343,7 @@
|
||||||
#define CY_IPC_DRV_VERSION_MAJOR 1
|
#define CY_IPC_DRV_VERSION_MAJOR 1
|
||||||
|
|
||||||
/** Driver minor version */
|
/** Driver minor version */
|
||||||
#define CY_IPC_DRV_VERSION_MINOR 30
|
#define CY_IPC_DRV_VERSION_MINOR 40
|
||||||
|
|
||||||
/** Defines a value to indicate that no notification events are needed */
|
/** Defines a value to indicate that no notification events are needed */
|
||||||
#define CY_IPC_NO_NOTIFICATION (uint32_t)(0x00000000ul)
|
#define CY_IPC_NO_NOTIFICATION (uint32_t)(0x00000000ul)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***************************************************************************//**
|
/***************************************************************************//**
|
||||||
* \file cy_ipc_pipe.h
|
* \file cy_ipc_pipe.h
|
||||||
* \version 1.30
|
* \version 1.40
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* IPC Pipe Driver - This header file contains all the function prototypes,
|
* IPC Pipe Driver - This header file contains all the function prototypes,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***************************************************************************//**
|
/***************************************************************************//**
|
||||||
* \file cy_ipc_sema.h
|
* \file cy_ipc_sema.h
|
||||||
* \version 1.30
|
* \version 1.40
|
||||||
*
|
*
|
||||||
* \brief
|
* \brief
|
||||||
* Header file for IPC SEM functions
|
* Header file for IPC SEM functions
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***************************************************************************//**
|
/***************************************************************************//**
|
||||||
* \file cy_ipc_drv.c
|
* \file cy_ipc_drv.c
|
||||||
* \version 1.30
|
* \version 1.40
|
||||||
*
|
*
|
||||||
* \brief
|
* \brief
|
||||||
* IPC Driver - This source file contains the low-level driver code for
|
* IPC Driver - This source file contains the low-level driver code for
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***************************************************************************//**
|
/***************************************************************************//**
|
||||||
* \file cy_ipc_pipe.c
|
* \file cy_ipc_pipe.c
|
||||||
* \version 1.30
|
* \version 1.40
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* IPC Pipe Driver - This source file includes code for the Pipe layer on top
|
* IPC Pipe Driver - This source file includes code for the Pipe layer on top
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***************************************************************************//**
|
/***************************************************************************//**
|
||||||
* \file cy_ipc_sema.c
|
* \file cy_ipc_sema.c
|
||||||
* \version 1.30
|
* \version 1.40
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* IPC Semaphore Driver - This source file contains the source code for the
|
* IPC Semaphore Driver - This source file contains the source code for the
|
||||||
|
@ -73,6 +73,7 @@ cy_en_ipcsema_status_t Cy_IPC_Sema_Init(uint32_t ipcChannel,
|
||||||
uint32_t count, uint32_t memPtr[])
|
uint32_t count, uint32_t memPtr[])
|
||||||
{
|
{
|
||||||
/* Structure containing semaphores control data */
|
/* Structure containing semaphores control data */
|
||||||
|
CY_SECTION(".cy_sharedmem")
|
||||||
static cy_stc_ipc_sema_t cy_semaData;
|
static cy_stc_ipc_sema_t cy_semaData;
|
||||||
|
|
||||||
cy_en_ipcsema_status_t retStatus = CY_IPC_SEMA_BAD_PARAM;
|
cy_en_ipcsema_status_t retStatus = CY_IPC_SEMA_BAD_PARAM;
|
||||||
|
|
Loading…
Reference in New Issue