Hello John,
I have not written a comms driver for the 68376, but I have one for the
68331 which is similar. Here you go. Hope it helps with your questions.
Cathy
(See attached file: 68331uart.c)
"john_gma"
<johnshaffer@mail To: 68300@yahoogroups.com
.com> cc:
Subject: [68300] MC68376 QSM SCI
09/10/02 10: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/
[Non-text portions of this message have been removed]Message
Re: [68300] MC68376 QSM SCI
2002-09-10 by cwade@watlow.com
Attachments
- No local attachments were found for this message.