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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

650件の閲覧回数
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 返答(返信)

558件の閲覧回数
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 件の賞賛

558件の閲覧回数
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 件の賞賛