Access from the user program
KL6031/KS6031, KL6041/KS6041 39Version: 2.1.0
R18: Buffer full
Register R18 defines the number of data in the input FIFO from which the BUF_F bit is set in the Status
word
R31-R35: User registers
R31: Code word register
• If you write values into the user registers without first entering the user code word (0x1235) into the
code word register, the terminal will not accept the supplied data.
• If you write values into the user registers and have previously entered the user code word (0x1235) in
the code word register, these values are written into the RAM registers and in the EEPROM registers
and are therefore retained if the terminal is restarted.
The code word is reset when the terminal is restarted.
R32: Bit/s rate
R32 defines the bit/s rate of the terminal. The delivery state is 9600bit/s.
Bit 15 … 4 Bit 3 Bit 2 Bit 1 Bit 0 Baud rate
reserved 1 0 1 0 115200bit/s
reserved 1 0 0 1 57600bit/s
reserved 1 0 0 0 38400bit/s
reserved 0 1 1 1 19200bit/s
reserved 0 1 1 0 9600bit/s (default)
reserved 0 1 0 1 4800bit/s
R33: Data Frame
R33 defines the setting of the data format. The delivery state is 8 data bits, no parity.
Bit 15 … 4 Bit 3 Bit 2 Bit 1 Bit 0 Meaning
reserved 0
bin
: 1 stop bit; 1
bin
: 2 stop bits 1 0 1 8data bits, odd parity
reserved 0
bin
: 1 stop bit; 1
bin
: 2 stop bits 1 0 0 8data bits, even parity
reserved 0
bin
: 1 stop bit; 1
bin
: 2 stop bits 0 1 1 8data bits, no parity (default)
reserved 0
bin
: 1 stop bit; 1
bin
: 2 stop bits 0 1 0 7 data bits, odd parity
reserved 0
bin
: 1 stop bit; 1
bin
: 2 stop bits 0 0 1 7data bits, even parity
R34: Feature register
R34 defines the operation mode of the terminal.