Get state from PWM

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

Get state from PWM

499件の閲覧回数
elisa_mejia
Contributor I

Hi,

I need to generate 7 PWMs and, simultaneously, get the states from 4 of them to update some variables. Is there any direct way to do this directly from the FTM, instead of using additional GPIO pins to detect the changes in the PWMs?

Regards,

Elisa

0 件の賞賛
返信
1 返信

485件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Elisa,

Port Data Input register visible in all digital pin-multiplexing modes, so please try to read the Port Data Input Register (GPIOx_PDIR).

Port Data Input register visible in all digital pin-multiplexing modes.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信