What is the basic difference between Latches and Flip flops?
Answer Posted / ayssar serhan
• LAT: (LATCH): This register is used to set output
values. Anything you want output on related pins must be
put on this.
Example
LATB=0xFF; //All PINs becomes high
LATB=0x00; //All pins becomes Low
LATB=0x03; //0000-0011 BIT 0 and 1 becomes high.
• PORT: This is used to get input from the PORTs.
Reading its value gives the actual levels applied on the
PINs. It must be noted that PORT is first configured as
input using the TRIS register. Suppose you connected a
switch as shown above on PORTB-0 then if you read PORTB it
will be 0000-0000 if switch is pressed and 0000-0001 if
switch is released.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is pcb?
Explain why fet is known as voltage control device?
Explain at what voltage does land line telephone operate?
what are the Features and Benefits of Voice Boards
please guide me who to prepare for bel interview...
Which Programer/Programing Software Should i use to program Mitsubishi FX Series PLC. PLZ DO ANSWER
Explain the bit format of flag register in 8086.
write the expression for a multiple Pi section filter's ripple factor?
What are the advantages of ics over discrete component circuits?
what is thermal tracking
What is stop band?
What is the percentage i get to work in MICROSOFT
what is transmission ?how transmission is done in nokia 3G?
hiii,i am richa.. i want to know .. the criteria for appearung for BEL... how much percent i shuold have and is it will be for per semester or for a whole year
IMPORTANCE OF SCALING IN MOS TRANSISTORS