Name

chena - enable a specified MDC channel

Synopsis

chena (mdc_addr, ch)

Description

This function enables the MDC channel ch. mdc_addr specifies MDC hardware address. If channel is already enabled or is not a valid the function issues an error message.

Actually, function works with the channel enable mask of specified MDC. It properly updates a software copy of the channel enable register and the register itself.

Valid MDC channel range is [0:191].

Errors

#MDC NOT INSTALLED mdc_addr address refers to a not installed MDC
#BAD MDC ADDRESS mdc_addr is not a valid MDC address
#OPERATION NOT ALLOWED mdc_addr zero can not be used to apply operation to all installed MDCs
#BAD MDC CHANNEL NUMBER ch is not a valid MDC channel
#MDC CHANNEL ALREADY ENABLED channel ch is already enabled

Example

Enable channel 20 for MDC #1:

etl>chena(1, 20)

etl>


Home   Back


$Date: 2001/01/16 21:36:04 $