DriverGetSize (FUN)

FUNCTION DriverGetSize : CAA.SIZE

Calculates the needed memory size for DriverOpenP.

InOut:

Scope

Name

Type

Comment

Return

DriverGetSize

CAA.SIZE

Required memory size for DriverOpenP

Input

usiNetId

USINT

number of CAN interface [0..n]

xSupport29Bit

BOOL

FALSE: only 11-Bit IDs, TRUE: support also 29-Bit

ctMessages

CAA.COUNT

number of transmit messages which should be allocated

peError

POINTER TO ERROR

optional pointer to error enum