CC3000HostDriver for device TI CC3000 some changes were made due to mbed compiler and the use of void*
Common_api
Functions | |
void | __error__ (char *pcFilename, unsigned long ulLine) |
__error__ | |
unsigned char * | UINT32_TO_STREAM_f (unsigned char *p, unsigned long u32) |
UINT32_TO_STREAM_f. | |
unsigned char * | UINT16_TO_STREAM_f (unsigned char *p, unsigned short u16) |
UINT16_TO_STREAM_f. | |
unsigned short | STREAM_TO_UINT16_f (char *p, unsigned short offset) |
STREAM_TO_UINT16_f. | |
unsigned long | STREAM_TO_UINT32_f (char *p, unsigned short offset) |
STREAM_TO_UINT32_f. |
Function Documentation
void __error__ | ( | char * | pcFilename, |
unsigned long | ulLine | ||
) |
__error__
- Parameters:
-
pcFilename - file name, where error occurred ulLine - line number, where error occurred
- Returns:
- none
stub function for ASSERT macro
Definition at line 64 of file cc3000_common.cpp.
unsigned short STREAM_TO_UINT16_f | ( | char * | p, |
unsigned short | offset | ||
) |
STREAM_TO_UINT16_f.
- Parameters:
-
p pointer to the stream offset offset in the stream
- Returns:
- pointer to the new 16 bit
This function is used for copying received stream to 16 bit in little endian format.
Definition at line 129 of file cc3000_common.cpp.
unsigned long STREAM_TO_UINT32_f | ( | char * | p, |
unsigned short | offset | ||
) |
STREAM_TO_UINT32_f.
- Parameters:
-
p pointer to the stream offset offset in the stream
- Returns:
- pointer to the new 32 bit
This function is used for copying received stream to 32 bit in little endian format.
Definition at line 149 of file cc3000_common.cpp.
unsigned char* UINT16_TO_STREAM_f | ( | unsigned char * | p, |
unsigned short | u16 | ||
) |
UINT16_TO_STREAM_f.
- Parameters:
-
p pointer to the new stream u32 pointer to the 16 bit
- Returns:
- pointer to the new stream
This function is used for copying 16 bit to stream while converting to little endian format.
Definition at line 108 of file cc3000_common.cpp.
unsigned char* UINT32_TO_STREAM_f | ( | unsigned char * | p, |
unsigned long | u32 | ||
) |
UINT32_TO_STREAM_f.
- Parameters:
-
p pointer to the new stream u32 pointer to the 32 bit
- Returns:
- pointer to the new stream
This function is used for copying 32 bit to stream while converting to little endian format.
Definition at line 85 of file cc3000_common.cpp.
Generated on Tue Jul 12 2022 19:26:44 by 1.7.2