3 /*****************************************************************************
5 (c) Cambridge Silicon Radio Limited 2010
6 All rights reserved and confidential information of CSR
8 Refer to LICENSE.txt included with this source for details
11 *****************************************************************************/
13 #include "csr_prim_defs.h"
20 /*----------------------------------------------------------------------------*
24 * Generic message creator.
25 * Allocates and fills in a message with the signature CsrEvent
27 *----------------------------------------------------------------------------*/
28 CsrEvent *CsrEvent_struct(u16 primtype, u16 msgtype);
36 /*----------------------------------------------------------------------------*
37 * CsrEventCsrUint8_struct
40 * Generic message creator.
41 * Allocates and fills in a message with the signature CsrEventCsrUint8
43 *----------------------------------------------------------------------------*/
44 CsrEventCsrUint8 *CsrEventCsrUint8_struct(u16 primtype, u16 msgtype, u8 value);
52 /*----------------------------------------------------------------------------*
53 * CsrEventCsrUint16_struct
56 * Generic message creator.
57 * Allocates and fills in a message with the signature CsrEventCsrUint16
59 *----------------------------------------------------------------------------*/
60 CsrEventCsrUint16 *CsrEventCsrUint16_struct(u16 primtype, u16 msgtype, u16 value);
67 } CsrEventCsrUint16CsrUint8;
69 /*----------------------------------------------------------------------------*
70 * CsrEventCsrUint16CsrUint8_struct
73 * Generic message creator.
74 * Allocates and fills in a message with the signature CsrEventCsrUint16CsrUint8
76 *----------------------------------------------------------------------------*/
77 CsrEventCsrUint16CsrUint8 *CsrEventCsrUint16CsrUint8_struct(u16 primtype, u16 msgtype, u16 value1, u8 value2);
84 } CsrEventCsrUint16CsrUint16;
86 /*----------------------------------------------------------------------------*
87 * CsrEventCsrUint16CsrUint16_struct
90 * Generic message creator.
91 * Allocates and fills in a message with the signature CsrEventCsrUint16CsrUint16
93 *----------------------------------------------------------------------------*/
94 CsrEventCsrUint16CsrUint16 *CsrEventCsrUint16CsrUint16_struct(u16 primtype, u16 msgtype, u16 value1, u16 value2);
101 } CsrEventCsrUint16CsrUint32;
103 /*----------------------------------------------------------------------------*
104 * CsrEventCsrUint16_struct
107 * Generic message creator.
108 * Allocates and fills in a message with the signature CsrEventCsrUint16
110 *----------------------------------------------------------------------------*/
111 CsrEventCsrUint16CsrUint32 *CsrEventCsrUint16CsrUint32_struct(u16 primtype, u16 msgtype, u16 value1, u32 value2);
118 } CsrEventCsrUint16CsrCharString;
120 /*----------------------------------------------------------------------------*
121 * CsrEventCsrUint16CsrCharString_struct
124 * Generic message creator.
125 * Allocates and fills in a message with the signature CsrEventCsrUint16CsrCharString
127 *----------------------------------------------------------------------------*/
128 CsrEventCsrUint16CsrCharString *CsrEventCsrUint16CsrCharString_struct(u16 primtype, u16 msgtype, u16 value1, char *value2);
136 /*----------------------------------------------------------------------------*
137 * CsrEventCsrUint32_struct
140 * Generic message creator.
141 * Allocates and fills in a message with the signature CsrEventCsrUint32
143 *----------------------------------------------------------------------------*/
144 CsrEventCsrUint32 *CsrEventCsrUint32_struct(u16 primtype, u16 msgtype, u32 value);
151 } CsrEventCsrUint32CsrUint16;
153 /*----------------------------------------------------------------------------*
154 * CsrEventCsrUint32CsrUint16_struct
157 * Generic message creator.
158 * Allocates and fills in a message with the signature CsrEventCsrUint32CsrUint16
160 *----------------------------------------------------------------------------*/
161 CsrEventCsrUint32CsrUint16 *CsrEventCsrUint32CsrUint16_struct(u16 primtype, u16 msgtype, u32 value1, u32 value2);
168 } CsrEventCsrUint32CsrCharString;
170 /*----------------------------------------------------------------------------*
171 * CsrEventCsrUint32CsrCharString_struct
174 * Generic message creator.
175 * Allocates and fills in a message with the signature CsrEventCsrUint32CsrCharString
177 *----------------------------------------------------------------------------*/
178 CsrEventCsrUint32CsrCharString *CsrEventCsrUint32CsrCharString_struct(u16 primtype, u16 msgtype, u32 value1, char *value2);
180 #endif /* CSR_LIB_H__ */