Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 8 months ago.
W7500 ECO uart typedefinition
Hello all
I am working with some W7500 ECO's for a project (ArtNet to DMX output)
I already made something similar with an LPC1768.
Unfortunately, I am stuck at the moment.
The code I wrote for the previous prject doesn't work anymore because I cannot find the equivalent of <<code >>PC_UART_TypeDef"<</code>>
full example: definition within my class
LPC_UART_TypeDef *_uart;
Within my functions of my class:
if (p_tx == P9) { _uart = (LPC_UART_TypeDef*)LPC_UART0; NVIC_SetPriority(UART0_IRQn, 1); } else if (p_tx == P13) { _uart = (LPC_UART_TypeDef*)LPC_UART1; NVIC_SetPriority(UART1_IRQn, 1); }
I am also wondering if the next part <<code>>UART1_IRQn <</code>>
would work. It seems very defficult to find any information about this on the W7500 ECO board.
Please help? :) Thank you