BECKHOFF ET9300 User Manual

Page 20

Advertising
background image

18

Application Note ET9300

Prototype:

void HW_SetALEventMask(UINT16 intMask)

Parameter

“intMask”

Interrupt mask (enabled interrupt shall be one)

Return

void

Description

Performs a logical OR with the AL Event Mask register (0x0204 : 0x0205).
This function is only required if “AL_EVENT_ENABLED” is set.

NOTE

: This function is only required for SSC 5.10 or older.

Prototype:

void HW_SetLed(UINT8 RunLed,UINT8 ErrLed)

Parameter

“RunLed”

EtherCAT Run LED state

“ErrLed”

EtherCAT Error LED state

Return

void

Description

Updates the EtherCAT Run and Error LEDs (or EtherCAT Status LED).

Prototype:

void HW_RestartTarget(void)

Parameter

void

Return

void

Description

Resets the hardware. This function is only required if
“BOOTSTRAPMODE_SUPPORTED” is set.

Prototype:

void HW_DisableSyncManChannel(UINT8 channel)

Parameter

“channel”

SyncManager channel

Return

void

Description

Disables selected SyncManager channel. Sets bit 0 of the corresponding 0x807
register.

NOTE

: This function is only required for SSC 5.10 or older.

Prototype:

void HW_EnableSyncManChannel (UINT8 channel)

Parameter

“channel”

SyncManager channel

Return

void

Description

Enables selected SyncManager channel. Resets bit 0 of the corresponding
0x807 register.

NOTE

: This function is only required for SSC 5.10 or older.

Advertising