User guide
MOTOROLA DSPAUDIOEVM Evaluation Board Users Manual 59
This document contains information on a new product. Specifications and information herein are subject to change without notice.
move x:-(r6),r0 ; restore r0
rti
esai_rxe_isr ; ESAI receive exception isr
bclr #7,x:M_SAISR ; clear overrun error flag
esai_rx_isr ; ESAI receive isr
move r0,x:(r6)+ ; save r0 to the stack
move m0,x:(r6)+ ; save m0 to the stack
move #1,m0 ; modulus 2 buffer
move x:RX_PTR,r0
; load the pointer to the rx buffer
nop
jset #$6,x:M_SAISR,LeftSlot ; if left channel data don’t set flag
bset #RightReceive,x:flags ; if right channel data then set flag
LeftSlot
movep x:M_RX1,x:(r0)+ ; move rx data to buffer
move r0,x:RX_PTR ; update rx buffer pointer
move x:-(r6),m0 ; restore m0
move x:-(r6),r0 ; restore r0
rti
esai_rxls_isr ; ESAI receive last slot isr
move r0,x:(r6)+ ; save r0 to the stack
move #RX_BUFF_BASE,r0 ; reset rx buffer pointer
move r0,x:RX_PTR ; update rx buffer pointer
move x:-(r6),r0
; restore r0
rti
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...