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).
Subscribe to:
Post Comments (Atom)
4 comments:
Nice thanks for the help '_'
ela ela..
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
it really helps me a lot
Post a Comment