beautypg.com

3 sermuxsend function, Sermuxsend function, Figure 8 – Siemens 7 User Manual

Page 32: Multiplexer driver developer’s guide, Sermuxsend and sermuxsendport0 functions

background image

Multiplexer Driver Developer’s Guide

7.4 Data Transfer

s

Mux_Drv_DevGuide_v07

Page 32 of 36

2006-9-27

Confidential / Released

7.4.3

SerMuxSend Function

The figure shows the flow diagram of the SerMuxSend function which sends the data to the module.

Figure 8: SerMuxSend function

SerMuxSend and SerMuxSendPort0 Functions

Locations from where to call the SerMuxSend Functions

SerMuxSend

Send UIH-Frames from

W riteRequests to the

virtuals Ports

Function that calls from SerMux

W rapper:

W rTimer()
W rW riteComplete()

SerMuxSendPort0

Send Control-Frames to

the Multiplexer Control

Port (Channel 0)

Function that calls from SerMux

Wrapper:

W rSendRequest()

Function that calls from SerPort0 :

EstablishDLC()
ReleaseDLC()
CloseDown()
SetModemStatus()
SendVersionCommand()
SendUAFrame()

Function that calls from ChkFrame:

SerPort0IndicateFrame()
SerPortIndicateFrame()