kernel_oserror *RISCOS_IICOpV(iic_transfer *descs, int ndesc_and_bus)
| Entry | |
|---|---|
| descs | Pointer to list of iic_transfer structures |
| ndesc_and_bus | Bits 0-23: Number of iic_transfer structures |
| Bits 24-31: IIC bus number |
| Exit | |
|---|---|
| - | 0 on success |
| kernel_oserror? pointer (Bad!) on error |
This call is a simple wrapper to IIC_OpV, an internal kernel routine which is used by SWI OS_IICOp to handle IIC transfers. As such, it allows the HAL to perform IIC transfers.
Note that it is only safe to call this function once HAL_Init has completed.