To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.
Posted: Oct 24, 2005 - 01:37 PM
I'm new to Freescale and CodeWarrior and am working with the Freescale 13193EVK and have been trying to find documentaion on how the prefixes and suffixes are assigned. I know these are typically used to describe the type of information being used, for instance a pointer variable definition like
is usually done rather than
I've found the following and would like more information on what they are telling me,
Prefixes g, p (pointer),
Suffixes _t, _c, and _d.
Thanks in advance for your help. Larry
Posted: Oct 25, 2005 - 09:27 AM
Sorry but I don't understand the request/question. Could you please give us more info ?
Regards Pascal Irrle
Posted: Oct 25, 2005 - 10:20 AM
Here are some examples of each data type, some with a prefix and suffix. These are from Freescale's ZigBee stack. I'm not asking what the code is doing, just how I'm supposed to interpret the prefixes and suffixes.
#define gCLKO_EnableBit_c (1<<5) ('g' Prefix and '_c' Suffix) #define cRX_LEVEL8shift (8) (Had not seen the 'c' prefix) ret = App_WaitMsg(pMsgIn, gNwkScanCnf_c); ('p' Prefix, 'g' Prefix and '_c' Suffix) Uart_PrintHex((uint8_t *)panId, 2, 0); ('_t' Suffix) #define gDeviceTypeRFD_d 4 ('g' Prefix and '_d' Suffix)