All Questions
4 questions
0
votes
1
answer
456
views
What is the difference between PTC and PORTC?
I am working on s32k144 controller in which I learnt how to configure pins as INPUT, while referring data sheet I got to know the base address GPIOC base address: 400F_F080h which is matching with ...
7
votes
3
answers
52k
views
Pin and port in microcontroller
I'm a bit new to microcontrollers. Can you please tell me what is a port and pin in a microcontroller? What are their uses (pin and port)?
11
votes
3
answers
29k
views
Difference between reading PORT and PIN
What is the difference between reading PORTA and PINA?
What is the relation between a port and its pins?I'm really confused!!!
sample of reading PORT:(reading pin is not useful here)
Assembly
f=1MHZ
...
3
votes
1
answer
300
views
What happens when you set a pin in the wrong direction?
All MCU's have digital pins, which you can configure to function as input or output.
When you set something to 'output' which is wired as an 'input', will there be any possibilities of short-circuits ...