slcd_sync_seg_on

Turn on a Segment.

int32_t slcd_sync_seg_on(
    struct slcd_sync_descriptor *const descr,
    uint32_t seg
)

Parameters

descr

Type: struct slcd_sync_descriptor Struct *const

SLCD descriptor to be enabled

seg

Type: uint32_t

Segment index. The segment index is by the combination of common and segment terminal index. The SLCD_SEGID(com, seg) macro can generate the index.

Returns

Type: int32_t