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?

CH32VをplatformIOで作る上での注意点

0
Posted at

現時点で203シリーズではこの相違点は出会っていない。
ひとつ前の記事であった

キーワードの違い

Mounriver2での記述

//TIM1の設定の一部
RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO | RCC_APB2Periph_GPIOC,ENABLE);
RCC_APB2PeriphClockCmd(RCC_APB2Periph_TIM1, ENABLE);

platformIOでの記述

//TIM1の設定の一部
RCC_PB2PeriphClockCmd(RCC_PB2Periph_AFIO | RCC_PB2Periph_GPIOC,ENABLE);
RCC_PB2PeriphClockCmd(RCC_PB2Periph_TIM1, ENABLE); 
:::note alert
"A"PB~でなくPB~にしなければいけない
:::

あとADC関連のコードも異なる

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?