Gast
#2072922
Hallo alle miteinander,
ich verstehe die Funktion _at() nicht oder bin mir ihrer Aufgabe nicht
ganz bewusst.
_at() ist ein Funktion vom Typ ADC_Poti nähme ich an.
Ich kenne auch aus C++ sich nicht einmal diese Art von Syntax "unsigned
int ADC_Poti _at (0xC202);" und auch nicht "#define _at(address)".
MAIN.C
unsigned int ADC_VDC _at (0xC200);
unsigned int ADC_Poti _at (0xC202);
c166.h
/* Remove variable attributes */
#define _atbit(bitw,offset)
#define _at(address)
Verwendetes Board: XE164 (XE164f) / XE166 - FOC Motor Drive Applikation
Kit
---------- Erklärung die nichts
erklärt!---------------------------------
KNOWN PR34020: variables defined with _at() do not show declaration when
hovered Component: EDE
DESCRIPTION:
When a variable is defined with _at(address) the declaration is not
shown when it is hovered in the EDE editor.
EXAMPLE:
int thisoneworks;
int thisonenot _at(0x1000);
void foo( void )
{
// try hovering these variables
thisoneworks = 1;
thisonenot = 2;
}
WORKAROUND:
None.
------------------------------------------------------------------------
---