8051 and a C switch statement
- From: Martin Griffith <mart_in_medina@xxxxxxxx>
- Date: Fri, 28 Dec 2007 23:39:04 +0100
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
.
- Follow-Ups:
- Re: 8051 and a C switch statement
- From: Anton Erasmus
- Re: 8051 and a C switch statement
- From: Wayne Farmer
- Re: 8051 and a C switch statement
- From: robertwessel2@xxxxxxxxx
- Re: 8051 and a C switch statement
- From: John Devereux
- Re: 8051 and a C switch statement
- Prev by Date: Re: Embedded Linux and PCI (over AT91?)
- Next by Date: Re: Embedded Linux and PCI (over AT91?)
- Previous by thread: Embedded Linux and PCI (over AT91?)
- Next by thread: Re: 8051 and a C switch statement
- Index(es):
Relevant Pages
|