Re: STM32F103 USART
"Achim" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
Hi Uwe, sorry fort he rare information, but I´m just starting the UART-Project with a few lines of code... the _write and _read functions in your example work, but my problem is, that I wantg to use interrupt functionality for receive. I´ve now gone step by step through the code. If I understood it right, all the interrupts are handled inside stm32_usart.c by writing all received data into a ringbuffer - right? Hence I think about what´s the best way to have my own RX-Interrupt handler... When debugging NutRegisterDevice calls UsartInit() und this calls Stm32UsartInit(). Within this function The Interrupt-Handler with buffer functionality is called. Hence I see no way to implement my own Interrupt-Handler without modifications in nut/os - right? Achim _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion