![Analog Devices Blackfin ADSP-BF537 Скачать руководство пользователя страница 506](http://html.mh-extra.com/html/analog-devices/blackfin-adsp-bf537/blackfin-adsp-bf537_hardware-reference-manual_2939700506.webp)
Programming Examples
8-126
ADSP-BF537 Blackfin Processor Hardware Reference
of C structures. Also provided are code listings that describe accessing an
external PHY via the station management (MIM) block. All macros which
are not explained in this section can be found in the
cdefBF537.h
and
defBF537.h
header files of Vi+.
The code examples in this section (
) show
basic functions and structures. The management counter register and the
interrupt settings are advanced functions and are not covered here. There
are many counter registers which are accessible by polling of the appropri-
ate register or using interrupt service routines. The
EMAC_SYSCTL
and
EMAC_SYSTAT
register should be used to configure the Ethernet MAC inter-
rupts capabilities. See
for a detailed description
of the MAC interrupts.
Ethernet Structures
Listing 8-1. Type Definition
// type definitions
typedef unsigned long int
u32;
typedef unsigned short int
u16;
typedef unsigned char u8;
typedef volatile u32
reg32;
typedef volatile u16
reg16;
The type definitions are placed here to help with reading of the following
code.
Listing 8-2. DMA Configuration
typedef struct ADI_DMA_CONFIG_REG {
u16 b_DMAEN:1;
/* 0
Enabled */
u16 b_WNR:1;
/* 1
Direction */
u16 b_WDSIZE:2;
/* 2:3
Transfer word size */
Содержание 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 ...