[an error occurred while processing this directive]
|
поэтому внутреннее имя элемента юниона или структуры глобально.
Обращение происходит напрямую:
Flags1 = 0; // Clear all flagsif (f05ms_Past) // if flag == 1
{
f05ms_Past = 0; // clear flag
.........
Читайте RTFM :-)
An anonymous structure or union is a structure or union object that is
declared without a name. Its members are promoted to the surrounding
scope...
The member names must be unique in the surrounding scope...
Notice that anonymous structures and unions are not compliant with
ISO/ANSI C and are only available when language extensions are enabled
in the AVR IAR Compiler...
E-mail: info@telesys.ru