0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

2019-10-08 LPC > LPCXpresso54628 > RIT (Repetitive Interrupt Timer ) > kCLOCK_Gpio3 > 3以外ではLED点滅しない

Posted at
動作環境
OS: Ubuntu 18.04 LTS
基板: LPCXpresso54628
IDE: MCUXpresso IDE v11.0.1 [Build 2563] [2019-09-01]

概要

  • SDK example(s)においてrit.cを試した
  • rit: Repetitive Interrupt Timer
    • 周期的にLEDを点滅するサンプルコード
  • CLOCK_EnableClock(kCLOCK_Gpio3);の記載の意味が分からない
    • データシートやIDEの資料、SDKの資料などを探したが見つからず

試したこと

CLOCK_EnableClock(kCLOCK_Gpio3);

において、別途定義されているkCLOCK_Gpio0..5を試した (0, 2, 4)。

結果、kCLOCK_Gpio3以外ではLEDの点滅はしなくなった。

まとめ

kCLOCK_Gpio3には特別な設定をしているようだ。
LED用のクロックを割り当てているのかもしれない。

資料が膨大にある割に、まとめ方がよくないので、その意味が分からない。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?