Mot has a very good application note (AN1724/D) on an interrupt driven
serial handler for the SCI. If you don't use it directly, it might give you
some ideas.
------------------------o0o------------------------
Jeff Clarke
Orbital Sciences Corporation
"john_gma"
<johnshaffer@mail To: 68300@yahoogroups.com
.com> cc:
Subject: [68300] MC68376 QSM SCI
09/10/02 11:30 AM
Please respond to
68300
Hello all,
I am writing a serial driver for the QSM SCI.
My question is in regards to the interrupt handling.
There does not seem to be a separate ISR.
How do I clear the interrupts?
There are 2 flags I need to use, TDRE and TC.
The book says that the flags are cleared by:
1. reading SCSR (OK, I do that)
2. Writing to TDR (I don't always want to do this)
So, how do I acknowledge the interrupt without transmitting something?
Can I write $0000 to SCSR?
Thanks
John
---------------------------------------------------
To unsubscribe from this group, send an email to:
68300-unsubscribe@yahoogroups.com
To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/Message
Re: [68300] MC68376 QSM SCI
2002-09-10 by Jeff Clarke
Attachments
- No local attachments were found for this message.