TsctlBusAssign16XDesc

From embeddedTS Manuals

This function performs a 16-bit read/modify/write to the bus at the specified Address in order to replace bits from BitMSB down to BitLSB, inclusively, with the specified Value.

The values of BitMSB and BitLSB must be in the range of 0 to 15, inclusively, and BitMSB must be greater than or equal to BitLSB.

Only the bottom-most (BitMSB - BitLSB) bits of value are assigned.

This function returns the new value written to the address.