C ++ programming based on interrupts for communication of two DTE (in series)

0

My specific question is:

In the code I have there is a line that is:

 outportb(Puerto+3,0x80);/*Pone DLAB en 1*/

From what I read this DLAB is a bit that is in the LCR (Line control Register) bone port + 3, access the LCR register, and with 0x80 (which in decimal is 128) activates the DLAB ...

Someone could tell me how it is that with that 0x80 activates the Dlab, I mean ... because is that value in particular? the 0x80?

I read that there are some values of Divider Latch Low Byte (I do not know if it has to see) and one that puts at a speed of 300Bps the value is 80h

I'll be waiting for your response guys

    
asked by Aylen Menichetti 06.09.2017 в 07:02
source

0 answers