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"
24 /*----------------------------------------------------------------------------*
28 * Generic message creator.
29 * Allocates and fills in a message with the signature CsrEvent
31 *----------------------------------------------------------------------------*/
32 CsrEvent *CsrEvent_struct(u16 primtype, u16 msgtype);
40 /*----------------------------------------------------------------------------*
41 * CsrEventCsrUint8_struct
44 * Generic message creator.
45 * Allocates and fills in a message with the signature CsrEventCsrUint8
47 *----------------------------------------------------------------------------*/
48 CsrEventCsrUint8 *CsrEventCsrUint8_struct(u16 primtype, u16 msgtype, u8 value);
56 /*----------------------------------------------------------------------------*
57 * CsrEventCsrUint16_struct
60 * Generic message creator.
61 * Allocates and fills in a message with the signature CsrEventCsrUint16
63 *----------------------------------------------------------------------------*/
64 CsrEventCsrUint16 *CsrEventCsrUint16_struct(u16 primtype, u16 msgtype, u16 value);
71 } CsrEventCsrUint16CsrUint8;
73 /*----------------------------------------------------------------------------*
74 * CsrEventCsrUint16CsrUint8_struct
77 * Generic message creator.
78 * Allocates and fills in a message with the signature CsrEventCsrUint16CsrUint8
80 *----------------------------------------------------------------------------*/
81 CsrEventCsrUint16CsrUint8 *CsrEventCsrUint16CsrUint8_struct(u16 primtype, u16 msgtype, u16 value1, u8 value2);
88 } CsrEventCsrUint16CsrUint16;
90 /*----------------------------------------------------------------------------*
91 * CsrEventCsrUint16CsrUint16_struct
94 * Generic message creator.
95 * Allocates and fills in a message with the signature CsrEventCsrUint16CsrUint16
97 *----------------------------------------------------------------------------*/
98 CsrEventCsrUint16CsrUint16 *CsrEventCsrUint16CsrUint16_struct(u16 primtype, u16 msgtype, u16 value1, u16 value2);
105 } CsrEventCsrUint16CsrUint32;
107 /*----------------------------------------------------------------------------*
108 * CsrEventCsrUint16_struct
111 * Generic message creator.
112 * Allocates and fills in a message with the signature CsrEventCsrUint16
114 *----------------------------------------------------------------------------*/
115 CsrEventCsrUint16CsrUint32 *CsrEventCsrUint16CsrUint32_struct(u16 primtype, u16 msgtype, u16 value1, u32 value2);
122 } CsrEventCsrUint16CsrCharString;
124 /*----------------------------------------------------------------------------*
125 * CsrEventCsrUint16CsrCharString_struct
128 * Generic message creator.
129 * Allocates and fills in a message with the signature CsrEventCsrUint16CsrCharString
131 *----------------------------------------------------------------------------*/
132 CsrEventCsrUint16CsrCharString *CsrEventCsrUint16CsrCharString_struct(u16 primtype, u16 msgtype, u16 value1, char *value2);
140 /*----------------------------------------------------------------------------*
141 * CsrEventCsrUint32_struct
144 * Generic message creator.
145 * Allocates and fills in a message with the signature CsrEventCsrUint32
147 *----------------------------------------------------------------------------*/
148 CsrEventCsrUint32 *CsrEventCsrUint32_struct(u16 primtype, u16 msgtype, u32 value);
155 } CsrEventCsrUint32CsrUint16;
157 /*----------------------------------------------------------------------------*
158 * CsrEventCsrUint32CsrUint16_struct
161 * Generic message creator.
162 * Allocates and fills in a message with the signature CsrEventCsrUint32CsrUint16
164 *----------------------------------------------------------------------------*/
165 CsrEventCsrUint32CsrUint16 *CsrEventCsrUint32CsrUint16_struct(u16 primtype, u16 msgtype, u32 value1, u32 value2);
172 } CsrEventCsrUint32CsrCharString;
174 /*----------------------------------------------------------------------------*
175 * CsrEventCsrUint32CsrCharString_struct
178 * Generic message creator.
179 * Allocates and fills in a message with the signature CsrEventCsrUint32CsrCharString
181 *----------------------------------------------------------------------------*/
182 CsrEventCsrUint32CsrCharString *CsrEventCsrUint32CsrCharString_struct(u16 primtype, u16 msgtype, u32 value1, char *value2);
188 #endif /* CSR_LIB_H__ */