How to get edge property in both edges triggering of SAIC mode ?

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

How to get edge property in both edges triggering of SAIC mode ?

1,094 次查看
plabgh
Contributor I

In Single Action Input Capture (SAIC) mode, select both edges triggering(EDSEL=1) for MPC55xx/MPC56xx.

How to know the property (falling/rising edge) of trigger edge when each time interrupt is triggered ?

tks!

标记 (1)
0 项奖励
回复
2 回复数

1,002 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I think there are only 2 ways…

  1. when reading the captured value from A register within an interrupt, read also the input pin state from the Status register
  2. use the IPWM mode

 

BR, Petr

0 项奖励
回复

1,002 次查看
plabgh
Contributor I

TKS.

how to read the input pin state from the Status register ?

whether reading PDIx bit of SIU_GPDIx_x registers or not ??

0 项奖励
回复