summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahesh Radhakrishnan2019-06-28 15:56:39 -0500
committerMahesh Radhakrishnan2019-06-28 15:56:39 -0500
commit988576398ae1488c706eebdd71aeff5959604f77 (patch)
tree13adcb4605dd850c0a236ab212d58636cd6e7e10 /pruicss.h
parent667b0eb2334ce59492b5b39d1cf124f7871b5f9c (diff)
parent3e430031565b9d81ee6d77ac96014856604f6c6b (diff)
downloadpruss-lld-988576398ae1488c706eebdd71aeff5959604f77.tar.gz
pruss-lld-988576398ae1488c706eebdd71aeff5959604f77.tar.xz
pruss-lld-988576398ae1488c706eebdd71aeff5959604f77.zip
Merge pull request #63 in PROCESSOR-SDK/pruss-lld from PRSDK-4321 to masterDEV.PRUSS_LLD.01.00.00.14A
* commit '3e430031565b9d81ee6d77ac96014856604f6c6b': PRSDK-4321: Correction for J7 SoC object count PRSDK-4321: Updated AM335x object initialization to align with new PRU instance Max count PRSDK-4321: Updated PRU instance support for AM335x PRSDK-4321: Added PRUICSS instace 3 support for AM65xx
Diffstat (limited to 'pruicss.h')
-rw-r--r--pruicss.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/pruicss.h b/pruicss.h
index 44fef2d..8c80500 100644
--- a/pruicss.h
+++ b/pruicss.h
@@ -82,6 +82,7 @@ extern "C" {
82 82
83#include <stdint.h> 83#include <stdint.h>
84#include <stddef.h> 84#include <stddef.h>
85#include <ti/drv/pruss/soc/pruicss_soc.h>
85 86
86#define PRUICSS_NUM_PRU_HOSTS (10U) 87#define PRUICSS_NUM_PRU_HOSTS (10U)
87#define PRUICSS_NUM_PRU_CHANNELS (10U) 88#define PRUICSS_NUM_PRU_CHANNELS (10U)
@@ -103,15 +104,7 @@ extern "C" {
103 104
104/**< Invalid Intc Mux number, intc Mux not used if assigned PRUSS_INVALID_INTC_MUX_NUM */ 105/**< Invalid Intc Mux number, intc Mux not used if assigned PRUSS_INVALID_INTC_MUX_NUM */
105#define PRUSS_INVALID_INTC_MUX_NUM ((uint32_t)0xffff) 106#define PRUSS_INVALID_INTC_MUX_NUM ((uint32_t)0xffff)
106/*! 107
107 * @brief PRUICSS Instance IDs
108 */
109typedef enum PRUICSS_MaxInstances_s
110{
111 PRUICCSS_INSTANCE_ONE=1,
112 PRUICCSS_INSTANCE_TWO=2,
113 PRUICCSS_INSTANCE_MAX=3
114}PRUICSS_MaxInstances;
115/** \brief Interrupt handler */ 108/** \brief Interrupt handler */
116typedef void (*PRUICSSDRV_IRQ_HANDLER)(void* buf); 109typedef void (*PRUICSSDRV_IRQ_HANDLER)(void* buf);
117typedef struct PRUICSS_Config_s *PRUICSS_Handle; 110typedef struct PRUICSS_Config_s *PRUICSS_Handle;