Hello everyone ,
I have a peripheral (LCD) that connected to the parallel port 1.I have some questions hope to find answers
1-what are the representation of bits in control registers on PCSPP mode?
bit3 --> selector ----> inverted
bit2 --> reset ----> non inverted
bit1 --> feed line ----> inverted
bit0 --> enable ----> inverted
is this true for PCSPP mode?
2-when using outb() macros in C language is it possible to reach the following timing diagram
sketch after call ioperm() etc...
outb(0b0011) , Par_Port_Control_reg);
usleep(50);
outb(0b0010) , Par_Port_Control_reg);
usleep(20);
outb(0xf9 , Par_Port_Data_reg);
usleep(50);
outb(0b0001 , Par_Port_Control_reg);
will this code lead to this diagram if not how to reach to something like this
http://prntscr.com/r5bi9q
Thank you.