SPI controlled registers in peripheral chips question.



Just been handed a possible job that requires a encoder IC to be set
up via SPI, about 20 r/w 8 bit registers. I'm going to use a 8052
with a 2 line LCD that's memory mapped, just because I have a couple
of boards lying around

I'll add a few buttons, but I was wondering if there is any neat way
of organising the code (in C ) to play around with the registers
while prototyping ( mucking around, really)


martin
.


Quantcast