BECKHOFF ET9300 User Manual

Page 21

Advertising
background image

Application Note ET9300

19

Prototype:

TSYNCMAN * HW_GetSyncMan(UINT8 channel)

Parameter

“channel”

SyncManager channel

Return

Pointer to the SyncManager channel description. The SyncManager description
structure size is always 8 Byte, the content of “TSYNCMAN” differs depending
on the supported ESC access.

Description

Gets the content of the SyncManager register from the stated channel. Reads 8
Bytes starting at 0x800 + 8*channel.

NOTE

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

Prototype:

UINT32 HW_GetTimer(void)

Parameter

void

Return

Current timer value

Description

Reads the current register value of the hardware timer. If no hardware timer is
available the function shall return the counter value of a multimedia timer. The
timer ticks value (increments / ms) is defined in

“ECAT_TIMER_INC_P_MS”.

This function is required if no timer interrupt is supported (

“ECAT_TIMER_INT”

= 0) and to calculate the bus cycle time.

Prototype:

void HW_ClearTimer(void)

Parameter

void

Return

void

Description

Clears the hardware timer value.

Prototype:

UINT16 HW_EepromReload (void)

Parameter

void

Return

0 <> Error during EEPORM reload
0 = EEPROM load correct

Description

This function is called if an EEPROM reload request is triggered by the master.
Only required if EEPROM Emulation is supported and the function pointer
“pAPPL_EEPROM_Reload” is not set.

Advertising