![Analog Devices Blackfin ADSP-BF537 Скачать руководство пользователя страница 681](http://html.mh-extra.com/html/analog-devices/blackfin-adsp-bf537/blackfin-adsp-bf537_hardware-reference-manual_2939700681.webp)
ADSP-BF537 Blackfin Processor Hardware Reference
11-21
Two Wire Interface Controller
3. Program
TWI_INT_MASK
. Enable bits are associated with the desired
interrupt sources. As an example, programming the value 0x000F
results in an interrupt output to the processor in the event that a
valid address match is detected, a valid slave transfer completes, a
slave transfer has an error, a subsequent transfer has begun yet the
previous transfer has not been serviced.
4. Program
TWI_SLAVE_CTL
. Ultimately this prepares and enables slave
mode operation. As an example, programming the value 0x0005
enables slave mode operation, requires 7-bit addressing, and indi-
cates that data in the transmit FIFO buffer is intended for slave
mode transmission.
shows what the interaction between the TWI controller and
the processor might look like using this example.
Table 11-2. Slave Mode Setup Interaction
TWI Controller Master
Processor
Interrupt: SINIT – Slave transfer in progress.
Acknowledge: Clear interrupt source bits.
Interrupt: RCVFULL – Receive buffer is full.
Read receive FIFO buffer.
Acknowledge: Clear interrupt source bits.
...
...
Interrupt: SCOMP – Slave transfer complete.
Read receive FIFO buffer.
Acknowledge: Clear interrupt source bits.
Содержание Blackfin ADSP-BF537
Страница 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...