[an error occurred while processing this directive]
|
Это ведь нужно для адресуемого мультипроцессорного обмена. Как только приходит правильное адресное слово, SCI "очухивается", выставляя запрос на прерывание. Где надо сбросить SLEEP. Вот же кусок доки!
In both multiprocessor modes, the receive sequence is:
1) At the receipt of an address block, the SCI port wakes up and requests an interrupt (bit number 1 RX/BK INT ENA-of SCICTL2 must be enabled to request an interrupt). It reads the first frame of the block, which contains the destination address.
2) A software routine is entered through the interrupt and checks the incoming address. This address byte is checked against its device address byte stored in memory.
3) If the check shows that the block is addressed to the device CPU, the CPU clears the SLEEP bit and reads the rest of the block; if not, the software routine exits with the SLEEP bit still set and does not receive interrupts until the next block start.
E-mail: info@telesys.ru