mostWriteReg
Valid for: CANoe DE Note Changes to registers may lead to unpredictable behavior of the network interface. Register layout of the OS8104: The registers of the OS8104 chip are distributed among pages. It is not possible to perform read or write actions on register pages. The offset is calculated as follows: offset = page << 8 + addressFunction Syntax
Description
Writes to one or more registers of a MOST hardware chip.Parameters
- channel: Channel to which the hardware is connected
- chip: Number of the MOST hardware chip (1 = OS8104; other chips cannot be accessed yet)
- offset: Address of the first register
- regdatalen: Number of registers to be written (maximum 16)
- regdata[]: A byte buffer at least regdatalen in size with the data to be written