ATtiny1624/1626/1627

TXPLCTRL

IRCOM Transmitter Pulse Length Control Register

  0x0D 8 - 0x00    

IRCOM Transmitter Pulse Length Control Register

Bit  7 6 5 4 3 2 1 0  
  TXPL[7:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  

Bits 7:0 – TXPL[7:0]: Transmitter Pulse Length

Transmitter Pulse Length

This 8-bit value sets the pulse modulation scheme for the transmitter. Setting this register will only have an effect if IRCOM mode is selected by the USART, and it must be configured before the USART transmitter is enabled (TXEN).

ValueDescription
0x00 3/16 of the baud rate period pulse modulation is used
0x01- 0xFE Fixed pulse length coding is used. The 8-bit value sets the number of peripheral clock periods for the pulse. The start of the pulse will be synchronized with the rising edge of the baud rate clock.
0xFF Pulse coding disabled. RX and TX signals pass through the IRCOM module unaltered. This enables other features through the IRCOM module, such as half-duplex USART, loop-back testing, and USART RX input from an event channel.