Checking the Port Output Level in Traveo™ S6J3XXX Series MCUs - KBA222180
Employee
Nov 28, 2018
11:10 PM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Nov 28, 2018
11:10 PM
Version: *A
Translation - Japanese: Traveo™ S6J3XXXシリーズMCUのポート出力レベルを確認する — KBA222180- Community Translated (JA)
Question:
Is it possible to check the current output level when the port is set as an output port?
Answer:
Yes, you can read the port output level from Port Input Data Register (GPIO_PIDRi) by setting the port input as follows:
- PPC_PCFGRijj.PIE=1
- GPIO_PORTEN.GPORTEN=1
Notes:
- This KBA applies to the following series of Traveo MCUs:
S6J3110
S6J3120
S6J3200
S6J3300
S6J3310
S6J3320
S6J3330
S6J3340
S6J3350
S6J3360
S6J3370
S6J3400
S6J3510
Labels
- Tags:
- auto mcu
- output port
- port
- s6j3
- s6j3110
- s6j3120
- s6j3200
- s6j3300
- s6j3310
- s6j3320
- s6j3330
- s6j3340
- s6j3350
- s6j3360
- s6j3370
- s6j3400
- s6j3510
- traveo
Rate this article: