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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,095 Views
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!

Tags (1)
0 Kudos
Reply
2 Replies

1,003 Views
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 Kudos
Reply

1,003 Views
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 Kudos
Reply