doubts on ARM TUTORIAL : uart
Thu Feb 02 2012, 02:52 am
Pawankumar, it would be great if you can create a thread for yourself so will be easy for me to help. this post is not for asking questions regardin your problem. so please create a new thread I will answer you there.
Sat Feb 18 2012, 12:50 pm
Thanks salim.,, I tried your code and it works perfectly for me.
I did not understand one thing :
I know 7 is for UART1 but I did not know the significance of the command.
I did not understand one thing :
VICVectCntl0 = 0x20 | 7;
I know 7 is for UART1 but I did not know the significance of the command.
Sat Feb 18 2012, 02:01 pm
hello pawan,
as far as i know this VicVecCntl0-15 registor is used for assigning priorities to the vectored interrupt. slot 0 being of highest priority. so i am assigning highest priority to UART1 interrupt. check section 7.4.9 of lpc2148 user manual u ll get some idea.
BTW ajay thanks for the link. it solved my issue.
as far as i know this VicVecCntl0-15 registor is used for assigning priorities to the vectored interrupt. slot 0 being of highest priority. so i am assigning highest priority to UART1 interrupt. check section 7.4.9 of lpc2148 user manual u ll get some idea.
BTW ajay thanks for the link. it solved my issue.
Sat Feb 18 2012, 03:39 pm
Thanks Salim,
I get it now.The 0x20 enables the IRQslot enable pin
I get it now.The 0x20 enables the IRQslot enable pin
[ Edited Sat Feb 18 2012, 03:40 pm ]
Powered by e107 Forum System