[En-Nut-Discussion] Any interest in additional hardware header files
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Sat Feb 7 15:44:12 CET 2009
>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> writes:
Ole> Hi Uwe,
>> while using NUTOS on my boards, some header files like ad974x.h
>> adf4157.h ads1112.h ads8344.h and pca95xx.h have accumulated in some
>> private directories
>> They mostly contain #defines to link registernames (like in the
>> datasheet) to numbers.
Ole> Do you also have any (higher level) access functions to use these
Ole> devices? Just the headers are not that useful, aren't they?
The headers only contain definitions.
However I also have One-Wire access over UART like explained in
http://www.maxim-ic.com/appnotes.cfm/an_pk/214
The code is still sprinkled with printf_P() for debug and #ifdef 0
for dead code alternatives.
--
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