ADSP-2126x SHARC Processor Hardware Reference
11-25
Input Data Port
Listing 11-1. Interrupt-Driven Data Transfer
/* Using Interrupt-Driven Transfers from the IDP FIFO */
#define IDP_ENABLE
(8)
/* IDP_ENABLE = IDP_CTL[7] */
#define IDP_CTL
(0x24B0)
/* Memory-mapped register */
#define IDP_FIFO_GTN_INT (8)
/* Bit 8 in interrupt regs */
#define IDP_FIFO
(0x24D0)
/* IDP FIFO packing mode */
#define DAI_IRPTL_FE
(0x2480)
/* Falling edge int latch */
#define DAI_IRPTL_RE
(0x2481)
/* Rising edge int latch */
#define DAI_IRPTL_PRI (0x2484)
/* Interrupt priority */
.section/dm seg_dmda;
.var OutBuffer[6];
.section/pm seg_pmco;
initIDP:
r0 = dm(IDP_CTL);
/* Reset the IDP */
r0 = BSET r0 BY IDP_ENABLE;
dm(IDP_CTL) = r0;
r0 = BCLR r0 BY IDP_ENABLE;
r0 = BCLR r0 BY 10;
/* Set IDP serial input channel 0 */
r0 = BCLR r0 BY 9;
/* to receive in I2S format
*/
r0 = BCLR r0 BY 8;
dm(IDP_CTL) = r0;
/*************************************************/
/* Connect the clock, data and frame sync of IDP */
/* channel 0 to DAI pin buffers 10, 11 and 12.
*/
/*************************************************/
/* Connect IDP0_CLK_I to DAI_PB10_O
*/
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...