Kinetis / Latch input

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

Kinetis / Latch input

1,209 次查看
asapuntz
Contributor I

Looking at KE1xF (or S32K14x)

PORTx->PCR[IRQC] allows an input pin to latch edges or levels which can then be read in PORTx->PCR[ISF] PORTx->ISFR. This is very handy to avoid missing transitions while software is busy with other activities.

However, it seems that this will produce in an interrupt (or DMA) if any pin on PORTx is configured to do so.

I've seen other (Cortex-M4) processors where masking of such interrupts is configurable on a per-pin (rather than per-port) basis. Is this level of control not available?

0 项奖励
回复
3 回复数

1,164 次查看
asapuntz
Contributor I

would be useful to have PORTx->PCR[IRQC] options which don't produce interrupts or DMA

0 项奖励
回复

1,157 次查看
CarlosGarabito
NXP TechSupport
NXP TechSupport

We will consider it for new MCU designs, thank you.

0 项奖励
回复

1,165 次查看
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @asapuntz , sorry, but no, it is not available

0 项奖励
回复