XMega EnableInts(???);

nwrightson
Benutzer
Avatar
Geschlecht:
Herkunft: Newcastle
Alter: 64
Homepage: nweha.homeserver.c…
Beiträge: 362
Dabei seit: 08 / 2003
Betreff:

XMega EnableInts(???);

 · 
Gepostet: 22.11.2011 - 03:56 Uhr  ·  #1
Hi,

What exactly is the EnableInts($87); doing?
What is the purpose of the $87?
It seams to be used in a lot of XMega examples.

Neil.
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: XMega EnableInts(???);

 · 
Gepostet: 22.11.2011 - 12:13 Uhr  ·  #2
Hello Neil,

did you read the compiler manual?
Zitat
With the XMegas this function is extended with a parameter which defines the enabled/disabled Interrupt levels. This value then is written into the PMIC Control register. The standard value is $87 = all levels are enabled.
Procedure EnableInts(level : byte);

rolf
nwrightson
Benutzer
Avatar
Geschlecht:
Herkunft: Newcastle
Alter: 64
Homepage: nweha.homeserver.c…
Beiträge: 362
Dabei seit: 08 / 2003
Betreff:

Re: XMega EnableInts(???);

 · 
Gepostet: 22.11.2011 - 12:43 Uhr  ·  #3
Rolf,
I looked in the Standard Manual and the Prof Manual.
I guess it must have been in another manual?
I also tried the online help.
Neil.
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: XMega EnableInts(???);

 · 
Gepostet: 22.11.2011 - 12:47 Uhr  ·  #4
Hello Neil,

sorry, such basic operations/functions are in the "Compiler Manual"

rolf
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 15 · Cache Hits: 14   81   95 · Page-Gen-Time: 0.030259s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI