SysMCBDIsSet (FUN)

FUNCTION SysMCBDIsSet : RTS_IEC_RESULT

CpuCoreBindingDesc helper function
SysMCBDIsSet tests the appropriate bit for uCoreId in CpuCoreBindingDesc.CpuCoreBits: see error code
InOut:

Scope

Name

Type

Comment

Return

SysMCBDIsSet

RTS_IEC_RESULT

Returns an error code.
  • ERR_OK: Bit is set.

  • ERR_FAILED: Bit is not set.

  • ERR_PARAMETER: CpuCoreBindingDesc is invalid pointer or uCoreId is invalid.

Input

pBindingDesc

POINTER TO CpuCoreBindingDesc

Pointer to the description of the core binding.

uCoreId

UDINT

Identifies the core ID. Starting with 0=first core, …