What happens if you disable the interrupt inside this ISR interrupt?For example, if I transfer data via USART from the buffer, and the data ends in this buffer, I want to temporarily stop the transfer, so after sending the last byte in the buffer, I turn off the interrupt.
(This is on the PIC18F4580)
Technical Data Sheet PIC18F4580 states that “erroneous behavior may occur” if the interrupt is disabled inside the ISR.
:. PIC32 dsPIC, , PIC18F4580 (PIC18F4580 ).
PIC18F4580:
MOVFF , . .
, , INTCONx. , USART , , PIE, INTCONx. , PIE . (GIE), ALL . , / ( INTCON).
mjv , USART - .
PIC18F4580, ,ISR
, ISR (.. , - ), ISR, ., ISR , , (, , ).
, , / , /.
. ? , ?
ISR , .
Source: https://habr.com/ru/post/1766501/More articles:Parse js arrays in ruby - javascriptОбщий интерфейс С++ для "cin" и "File" - c++Rails UJS rendering of a js.erb template in IE - jqueryCompile jruby on a rails app in a jar? - jarAndroid: transmit sound to someone during a call? - androiddisabled MSVC ++ 2010 debugger? - c ++webservice over HTTPS with self-signed certificate in ColdFusion? - coldfusionInvalid foreign key relationship when I try to add a new user object to exsting string - apex-codePHP memory limit - phpHow to start an XP computer with MacOSX - windowsAll Articles