- 追加された行はこの色です。
- 削除された行はこの色です。
[[ファームウェア関数一覧>ファームウェア関数一覧#u5cbf254]]
*I2C_PECPositionConfig [#kf381d87]
#contents
**ヘッダ宣言 [#jc7ccda1]
**関数プロトタイプ [#t5a25fc7]
void I2C_PECPositionConfig(I2C_TypeDef* I2Cx, uint16_t I2C_PECPosition)
**動作 [#gaca16ed]
-I2Cx周辺回路のPECの位置を選択します。&br;
I2Cx周辺回路のPECの位置を選択します。&br;
**引数 [#a93488fc]
-I2Cx&br;
I2C1又はI2C2を指定します。&br;
&br;
-I2C_PECPosition&br;
PECの位置を以下のマクロから選択します。&br;
&br;
|CENTER:I2C_PECPosition|CENTER:説明|h
|I2C_PECPosition_Next|-|
|2C_PECPosition_Current|-|
#include(Macro/I2C_PECPosition,notitle)
&br;
**出力値 [#m44c1d92]
-無し
**戻り値 [#h4148181]
-無し
**呼び出し関数 [#we3d05d7]
-無し
**サンプル [#h47b329a]
/* Configure the PEC bit to indicvates that the next byte in shift
register is PEC for I2C2 */
I2C_PECPositionConfig(I2C2, I2C_PECPosition_Next);
**参照 [#e6c75a64]
-