[elektro] PIC32 flag probléma

Balla Zoltán sdrlab at yandex.ru
Thu May 3 12:12:35 CEST 2012


Feladó: "bbog" <bbog at t-online.hu>
> When the UTXEN bit is set, the UxTXIF flag bit is also set if UTXISEL0<1:0>
> = 00
> (since the transmit buffer is not yet full, i.e.,transmit data can move to
> the
> UxTXREG register).
> ---
> üdv
> Bogdányi Béla
>
Itt már talán közelítünk a megoldás felé ) Bevallom, szerény angol tudásommal nem igazán tudom 
értelmezni pontosan a fenti mondatot....hogy mit is jelent az, és miért nem tudom törölni 
megszakításban azt a flag-et....

Találtam még ezt is, amit ugyanúgy nem tudok értelmezni, de hátha valaki angolull jobban beszélőnek 
megy kapásból:

For UART modules having 8-level-deep FIFO, an interrupt is generated and asserted when the
interrupt condition specified by the UTXISEL control bits is true. This means, to clear an interrupt
for these modules, before clearing the corresponding UxTXIF flag bit, the user application must
ensure that the interrupt condition specified by the UTXISEL control bits is no longer true. 



More information about the Elektro mailing list