I am new to writing drivers....
While writing serial driver for modem ..i have implemented all the functionalities and ISR also...
But when i am testing it ,control is not going to ISR..
I came to know that i have to unmask ISR...
Currently i am using IRQ3....
Can any one tell me how to do this?
Unmasking IRQ for Serial
Re:Unmasking IRQ for Serial
Have you read the FAQ?
Every good solution is obvious once you've found it.
Re:Unmasking IRQ for Serial
You send 11110111b (enable the COM2/4 only) to the 0x21 port.
Re:Unmasking IRQ for Serial
Hi all,
Thanks. I will modify the code and let you know if i faced any other problems.
As well as i will read the FAQ also.
Regards
UUK
Thanks. I will modify the code and let you know if i faced any other problems.
As well as i will read the FAQ also.
Regards
UUK
Re:Unmasking IRQ for Serial
Hi,
It is working fine.
I have one more problem while writing.
Now i am trying without interrupt.
So in write method i have read the MCR Value and Or with 0x01.
Then i am reading MSR value.
But i am always getting 0xFF only.
I want to check CTS bit of MSR and send the value.
Whether my way of doing is wrong.
Please let me know how to do this.
Regards
UUK
It is working fine.
I have one more problem while writing.
Now i am trying without interrupt.
So in write method i have read the MCR Value and Or with 0x01.
Then i am reading MSR value.
But i am always getting 0xFF only.
I want to check CTS bit of MSR and send the value.
Whether my way of doing is wrong.
Please let me know how to do this.
Regards
UUK