Difference between revisions of "IRU:SetBitRate"

From 3dbrew
Jump to navigation Jump to search
Line 30: Line 30:
 
|-
 
|-
 
!  Value
 
!  Value
!  Data written to I2C IR device
+
!  Data passed to the function which writes to the IR-I2C registers for this
 
!  Bits-per-second / description
 
!  Bits-per-second / description
 
|-
 
|-

Revision as of 21:21, 22 February 2014

Request

Index Word Description
0 Header code [0x00090040]
1 u8 bitrate value

Response

Index Word Description
0 Header code
1 Result code


Bitrate Values

Value Data passed to the function which writes to the IR-I2C registers for this Bits-per-second / description
3 10
4 12
5 16
6 24 ? (This is the default for IRU)
7 32
8 48
9 64
10 96
11 120
12 192
13 384
14 20
15 30
16 60
17 160
18 240

Description

This sets the current bitrate. Error 0xE0E10FED is returned when the input value is outside of the above range. Error 0xF9610C02 is returned when the I2C code returns an error.