8051 and a C switch statement



Got a 4k8 serial biphase signal being decoded by a at85c52 with an
external non retrig monostable (hc221), and I'm running out of time
occasionally waiting for the generic 2*8 LCD to clear it's busy flag.
The LCD is fed with the info from the incoming biphase

To reduce the "reaction time" I could use a long switch statement on
the signal's clock interrupt bitcount from the sync word, 80 per
frame, do just a little bit each interrupt.

The real question is

" how big can I make the switch statement?"
Whats the limit?
I'm using the rasionance C compiler.

'scuse typos, a bottle of wine was preferable to staring at my
lamentable code


martin
.



Relevant Pages

  • Re: 8051 and a C switch statement
    ... occasionally waiting for the generic 2*8 LCD to clear it's busy flag. ... To reduce the "reaction time" I could use a long switch statement on ... the signal's clock interrupt bitcount from the sync word, ... I'm using the rasionance C compiler. ...
    (comp.arch.embedded)
  • Re: 8051 and a C switch statement
    ... occasionally waiting for the generic 2*8 LCD to clear it's busy flag. ... To reduce the "reaction time" I could use a long switch statement on ... do just a little bit each interrupt. ... depending on your compiler. ...
    (comp.arch.embedded)
  • Re: 8051 and a C switch statement
    ... occasionally waiting for the generic 2*8 LCD to clear it's busy flag. ... To reduce the "reaction time" I could use a long switch statement on ... do just a little bit each interrupt. ... depending on your compiler. ...
    (comp.arch.embedded)