Changes

Jump to navigation Jump to search
184 bytes added ,  04:51, 23 February 2014
Line 30: Line 30:  
|-
 
|-
 
!  Value
 
!  Value
Data passed to the function which writes to the IR-I2C registers for this
+
Converted divisor value
 
!  Bits-per-second / description
 
!  Bits-per-second / description
 
|-
 
|-
Line 100: Line 100:     
The bps listed above is from code in IR module which converts the input value into actual bps, that function is only used with delay code however.
 
The bps listed above is from code in IR module which converts the input value into actual bps, that function is only used with delay code however.
 +
 +
The converted value is the following(from a datasheet): "16-bit divisor for generation of the baud clock in the baud rate generator". The baud/bit rate is calculated with the following, where clk is 1152000: bitrate = clk / divisor.
    
=Description=
 
=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.
 
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.

Navigation menu