- <xs:attribute name="Mode" type="I2CPortWriteMode" use="optional"/>\r
- <xs:attribute name="BlockCount" type="DecNumber" use="optional"/>\r
- <xs:attribute name="Address" type="HexNumber" use="required"/>\r
- <xs:attribute name="Length" type="DecNumber" use="optional"/>\r
- <xs:attribute name="Payload" type="HexData" use="required"/>\r
- <xs:attribute name="Timeout" type="DecNumber" use="optional"/>\r
+ <xs:attribute name="Mode" type="I2CPortWriteMode" use="optional">\r
+ <xs:annotation>\r
+ <xs:documentation>\r
+ <UCSElementPath>/Unicens/Script/I2CPortWrite/@Mode</UCSElementPath>\r
+The write transfer mode.</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ <xs:attribute name="BlockCount" type="Number" use="optional">\r
+ <xs:annotation>\r
+ <xs:documentation>\r
+ <UCSElementPath>/Unicens/Script/I2CPortWrite/@BlockCount</UCSElementPath>\r
+The number of blocks to be written to the I2C address.\r
+If parameter mode is not set to Burst Mode, the value of block_count has to be set to 0.\r
+Otherwise the valid range of this parameter goes from 1 to 30. </xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ <xs:attribute name="Address" type="Number" use="required">\r
+ <xs:annotation>\r
+ <xs:documentation>\r
+ <UCSElementPath>/Unicens/Script/I2CPortWrite/@Address</UCSElementPath>\r
+Address of the target device. Use the UCS_ADDR_LOCAL_DEV macro to target the local device. \r
+The following address ranges are supported:\r
+â\80¢[0x10 ... 0x2FF]\r
+â\80¢[0x500 ... 0xFEF]\r
+â\80¢UCS_ADDR_LOCAL_DEV </xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ <xs:attribute name="Length" type="Number" use="optional">\r
+ <xs:annotation>\r
+ <xs:documentation>\r
+ <UCSElementPath>/Unicens/Script/I2CPortWrite/@Length</UCSElementPath>\r
+The total number of bytes to be written to the addressed I2C peripheral. \r
+Even if parameter mode is set to Burst Mode, the data_len shall correspond to the whole size of the burst transfer.\r
+That is, the data_len shall equal the size of a block times the block_count value.</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ <xs:attribute name="Payload" type="HexData" use="required">\r
+ <xs:annotation>\r
+ <xs:documentation>\r
+ <UCSElementPath>/Unicens/Script/I2CPortWrite/@PayLoad</UCSElementPath>\r
+Payload bytes to be written on I2C</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ <xs:attribute name="Timeout" type="Number" use="optional">\r
+ <xs:annotation>\r
+ <xs:documentation>\r
+ <UCSElementPath>/Unicens/Script/I2CPortWrite/@Timeout</UCSElementPath>\r
+The timeout for the I2C Port write. </xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r