Техническая Спецификация для Atmel Evaluation Kit for AT32uC3A0512, 32-Bit AVR Microcontroller Atmel ATEVK1105 ATEVK1105

Модели
ATEVK1105
Скачать
Страница из 826
272
AT32UC3A
Figure 25-14.
Transmit Frame Format in Continuous Mode 
Note:
1. STTDLY is set to 0. In this example, THR is loaded twice. FSDEN value has no effect on the
transmission. SyncData cannot be output in continuous mode.
Figure 25-15.
Receive Frame Format in Continuous Mode 
Note:
1. STTDLY is set to 0.
25.7.8
Loop Mode
The receiver can be programmed to receive transmissions from the transmitter. This is done by
setting the Loop Mode (LOOP) bit in RFMR. In this case, RX_DATA is connected to TX_DATA,
RX_FRAME_SYNC is connected to TX_FRAME_SYNC and RX_CLOCK is connected to
TX_CLOCK.
25.7.9
Interrupt
Most bits in SR have a corresponding bit in interrupt management registers.
The SSC can be programmed to generate an interrupt when it detects an event. The interrupt is
controlled by writing IER (Interrupt Enable Register) and IDR (Interrupt Disable Register) These
registers enable and disable, respectively, the corresponding interrupt by setting and clearing
the corresponding bit in IMR (Interrupt Mask Register), which controls the generation of inter-
rupts by asserting the SSC interrupt line connected to the interrupt controller.
Start
Data
Data
DATLEN
From THR
DATLEN
TX_DATA
Start: 1. TXEMPTY set to 1
2. Write into the THR
From THR
Default
Data
Data
To RHR
To RHR
DATLEN
DATLEN
RX_DATA
Start = Enable Receiver
32058K AVR32-01/12