Sunday, March 22, 2009

PORTB and TRISB

PORTB is an 8-bit wide and bidirectional port. The corresponding data direction register for PORTB is TRISB. Setting a TRISB bit = 1 will make the corresponding PORTB pin an input (i.e.,put the corresponding output driver in a Hi-Impedance mode). Clearing a TRISB bit = 0 will make the corresponding PORTB pin an output (i.e., put the contents of the output latch on the selected pin).

4 comments:

Unknown said...

Nice thanks for the help '_'

Anonymous said...

ela ela..

Anonymous said...

Great blog here! Also your site loads up very fast! What web host
are you using? Can I get your affiliate link to your host?
I wish my web site loaded up as quickly as yours lol

my webpage - sian

Anonymous said...

it really helps me a lot

Post a Comment