PORT vs GPIO what is different?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PORT vs GPIO what is different?

101 次查看
seokhyeonwang
Contributor II

seokhyeonwang_0-1716457035667.png

Hello. 

 

i use nxp s32 144 software engineer.

my curious is simple.

what is different PORT register and GPIO register?

 

my guess is they use case PORT is for interrupt, GPIO, is for read value.

it is real? or update process legacy? please teach me.

0 项奖励
1 回复

62 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

The PORT module provides features like configure interrupts, digital filters and also allow to configures pins with pull-up/down and drive strength, etc.

Meanwhile GPIO module allows you to define pin directions, read states, set, clear, toggle, etc.

You can read more about their features in Chapters 12 and 13 from reference manual.

Hope it helps you.

Have a nice day!

0 项奖励