Hi All,
I need to generate an interrupt on DCD pin . How can I do this for null modem? I shorted pins 1, 4 and 6 of the port and trying to toggle bit 0 in MCR register and enabled bit 3 in IER register, so that when state change happens it will trigger an interrupt.
But it is not generating any interrupt. I am new to these modem signals.
Can anyone send me sample ISR code or some idea how to generate an interrupt when state change happens on DCD pin for null modem.
We are using Ardence RTX tool which has its own APIs to transmit and receive data.
Thanks.
This is not a "Generic" question - it is very specific to the particular processor that you are using, and your specific target hardware. Since you haven't even mentioned any of these - let alone given details - it is impossible to answer your question!
"We are using Ardence RTX tool"
What is that?
Have you asked them the question?
Hi,
Thank you.
I am writing an application for CPU COM port not specific to particular target.
About RTX which is designed as real time extension to the windows operating system and is not an RTOS ported to windows which has its own APIs like in windows OUTPORTB etc.
This is a forum for 8051 and ARM processors in embedded environments.
A serial port is a hardware device where you either use a driver (if high-end OS) together with the driver documentation, or you go directly for the hardware, in which case you need the datasheet.
There are no COM port "not specific to a particular target". All COM ports are physical hardware with special bits meaning special things.
A real-time extension for the Windows environment, would mean that there are someplace else that focuses on documenting and discussing this extension.