BS2 code to interface with LSI chip
Archiver
Posts: 46,084
Hi,
I am trying to read and write to a 24-bit counter
chip made by LSI called the LS7166 using a BS2.
Does anyone have any sample code which might be
useful to emulate with a similar device?
My major confusion at present is what it means
when I see a line like:
D7 D6 C/D_ RD_ WR_ CS_
0 0 1 1 -_- 0 Write to MCR
Does the -_- mean that I need to toggle the state
of that pin? What would that code segment look like?
Thanks for any and all help - this is a great group.
-Doug
I am trying to read and write to a 24-bit counter
chip made by LSI called the LS7166 using a BS2.
Does anyone have any sample code which might be
useful to emulate with a similar device?
My major confusion at present is what it means
when I see a line like:
D7 D6 C/D_ RD_ WR_ CS_
0 0 1 1 -_- 0 Write to MCR
Does the -_- mean that I need to toggle the state
of that pin? What would that code segment look like?
Thanks for any and all help - this is a great group.
-Doug