[En-Nut-Discussion] Set Idle Heartbeat on entry and reset on leave of idle function
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Fri Apr 30 14:32:47 CEST 2010
>>>>> "Ulrich" == Ulrich Prinz <uprinz2 at netscape.net> writes:
Ulrich> Hi Uwe, I like this patch. Can you upload both to sourceforge
Ulrich> and please correct one minor thing. The naming convention should
Ulrich> be xxx_yyy_PORT and xxx_yyy_PIN for Port and Pin of a CPU. In
Ulrich> the NutConf file you name it IDLE_HEARTBEAT_DDR, while in the
Ulrich> code you name it IDLE_HEARTBEAT_BIT. I thing the DDR
Ulrich> (Data-Direction-Register) is intrinsically defined by the Port
Ulrich> and Pin.
Argh ;-)
Why do small things always get that complicated?
I have sent a patch using your directions.
Ulrich> Is there a reason for not making this available to all CPUs?
Lazyness? Lack of other boards to test? I will try to add for other
functions soon.
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the En-Nut-Discussion
mailing list