[En-Nut-Discussion] accesing registers

scostas scostas at det.uvigo.es
Thu Mar 9 12:51:46 CET 2006


Hi again:

I'm starting with Ethernut 3 and have a doubt about accesing ports. In
the document "memory.html", where is described the memory map and ports,
says that the CPLD registers are at 0x21000000 - 0x210FFFFF, which seems
to mean that they are memory-mapped. Do I must access them with memory
pointers, or can I use OUTR, like:

    outr(NPL_RSCR, data);

to access the NPL rs232 register? It's not much clear.

Thanks.



More information about the En-Nut-Discussion mailing list