Storage classes, Type qualifiers, Enumeration syntax – Echelon Neuron C User Manual
Page 227
Neuron C Reference Guide
207
Storage Classes
The ANSI C storage classes are augmented in Neuron C with the additional
classes config, eeprom, far, fastaccess, offchip, onchip, ram, system, and uninit.
The ANSI C register storage class is not supported in Neuron C (it is ignored by
the compiler).
class-keyword
:
auto
config
eeprom
extern
far
fastaccess
offchip
onchip
ram
register
static
system
typedef
uninit
Type Qualifiers
The ANSI C language also defines type qualifiers for declarations. Although the
type qualifier volatile is not useful in Neuron C (it is ignored by the compiler), the
type qualifier const is quite important in Neuron C.
cv-type-qualifiers
:
cv-type-qualifiers cv-type-qualifier
cv-type-qualifier
cv-type-qualifier
:
const
volatile
Enumeration Syntax
The following is ANSI C enum type syntax.
enum-specifier
:
enum
identifier
{
enum-value-list
}
enum {
enum-value-list
}
enum
identifier
enum-value-list
:
enum-const-list
,
enum-const-list