User Tools

Site Tools


robots:hako:firmware:welcome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
robots:hako:firmware:welcome [2012/09/26 18:39]
karina [Mainboard - Software - Notation - Types and prefixes]
robots:hako:firmware:welcome [2021/08/14 04:21] (current)
Line 73: Line 73:
 ==== Mainboard - Software - Notation - Types and prefixes ==== ==== Mainboard - Software - Notation - Types and prefixes ====
    
 +  * [[robots:hako:firmware:welcome#Recommended unambiguous type definitions and prefixes|Unordered List ItemTypes/prefixes]] 
 +  * [[robots:hako:firmware:welcome#Type definition (typedef) prefixes|Typedef prefixes]]
 +  * [[robots:hako:firmware:welcome#Definition prefixes|Definition prefixes]] 
 +  * [[robots:hako:firmware:welcome#Modifier prefixes|Modifier refixes]] 
 +  * [[robots:hako:firmware:welcome#Area of validity prefixes|Validity prefixes]] 
 +  * [[robots:hako:firmware:welcome#Examples|Examples]]
 +
 +
 Header file: "xll_stwtypes.h" Header file: "xll_stwtypes.h"
  
Line 79: Line 87:
 That is why STW introduced unambiguous types like 'uint16' to avoid confusions in future. That is why STW introduced unambiguous types like 'uint16' to avoid confusions in future.
  
-**Recommended unambiguous type definitions and prefixes**+== Recommended unambiguous type definitions and prefixes ==
  
  
Line 119: Line 127:
  
  
-**Type definition (typedef) prefixes**+== Type definition (typedef) prefixes ==
 ^Prefix^Example^Description^ ^Prefix^Example^Description^
 |T_|typedef struct { ... } T_Struct;|type definition for structure (or bitfield) | |T_|typedef struct { ... } T_Struct;|type definition for structure (or bitfield) |
Line 126: Line 134:
 |PR_|typedef void (*PR_Function)( const uint8 ou8_Parameter );| type definition for function pointer| |PR_|typedef void (*PR_Function)( const uint8 ou8_Parameter );| type definition for function pointer|
  
-**Definition prefixes**+== Definition prefixes ==
 ^Prefix^Example^Description^ ^Prefix^Example^Description^
 |t_|T_Struct t_Struct;| structure (or bitfield)| |t_|T_Struct t_Struct;| structure (or bitfield)|
Line 137: Line 145:
  
  
-**Modifier prefixes**+== Modifier prefixes ==
 ^Prefix^Example^Description^ ^Prefix^Example^Description^
 |p<type prefix>|uint8 *pu8_Example; |pointer of type| |p<type prefix>|uint8 *pu8_Example; |pointer of type|
 |a<type prefix>|uint8 au8_Example[4];| array of type| |a<type prefix>|uint8 au8_Example[4];| array of type|
  
-**Area of validity prefixes**+== Area of validity prefixes ==
 ^Prefix^Example^Description^ ^Prefix^Example^Description^
 |g<type prefix>| uint8 gu8_Global; |global| |g<type prefix>| uint8 gu8_Global; |global|
Line 149: Line 157:
 |o<type prefix>| void Callback( const uint8 ou8_Parameter ); |function parameter (operand)| |o<type prefix>| void Callback( const uint8 ou8_Parameter ); |function parameter (operand)|
  
-**Examples**+== Examples == 
 <sxh c> <sxh c>
 //Prefix examples //Prefix examples
robots/hako/firmware/welcome.1348677542.txt.gz · Last modified: 2021/08/14 04:20 (external edit)