BasicProperties
 
Component BasicProperties
This component is example of basic properties. The component was designed to help developers start creating a new user components quickly.
Component Level: High
Properties:
(Properties are parameters of the component. Please see the Embedded Components page for more information.)
  • Component name - Component name
  • Address in CPU address space - Setting of the property: AddrType: EXTERNAL, INTERNAL, RAM, ROM, FLASH, EEPROM, ONETYPEONLY; FixedSize=0; Symbol=ADDR; Value=0; MinValue=0; MaxValue=-1;
  • Boolean group - Setting of the property: Symbol=BOOLGROUP; TypeSpecName=typeEnaDis; Value=true; DefineSymbol=YES_NO
    The following items are available only if the group is enabled (the value is "Enabled"):
    • Boolean yes / no - Setting of the property: Symbol=BOOL; TypeSpecName=typeYesNo; Value=false; GetTextValueIndex=False
  • Date - Setting of the property: Symbol=DATE; Text=31.12.2000; MinDateValue=01.01.1900; MaxDateValue=31.12.2999
  • Directory - Setting of the property: Symbol=DIR; Value=;
  • Enumeration - Setting of the property: Symbol=ENUM; TypeSpecName=MyFirstEnumType; GetTextValueIndex=False; Index=0;
  • External bitmap file - Setting of the property: Filter=Bitmap file (*.bmp)<PIPE>*.bmp; Symbol=BITMAP;Value=;
  • External file - Setting of the property: FileDefine=NONE; Filter=Html file (*.html)<PIPE>*.html; Symbol=FILE; Value=;
  • Group of items - Setting of the property: Expanded=YES; Symbol=GROUP; Text=group of integer numbers;
    • Integer - signed - Setting of the property: Symbol=INT; Value=1; MaxValue=16; MinValue=-16;
    • Integer - unsigned - Setting of the property: Symbol=WORD; Value=100; MaxValue=65535; MinValue=0;
  • List of items - Setting of the property: ItemsName=Real; ItemsSymb=REAL; ItemsType=Real number; Symbol=LIST; ItemsTypeSpecName=; MaxItems=-1; MinItems=1
    One Item of the list looks like:
    Real0 - Real value
  • String - Setting of the property: Symbol=STRING; Value=default string value; MaxLength=-1; MinLength=0;
  • String list - Setting of the property: DefineList=False; AcceptNonPrintChars=False; ExternEditorEnabled=True;
  • Time - Setting of the property: Symbol=TIME; Text=08:15:00
  • CPU clock/speed selection - Setting of the property: default speed mode settings: Expanded=YES; Symbol=_SpeedGrp;
    For details about speed modes please refer to page Speed Modes Support.