ファームウェア関数一覧
DAC_Init †
ヘッダ宣言 †
関数プロトタイプ †
void DAC_Init(uint32 DAC_Channel, DAC_InitTypeDef* DAC_InitStruct)
動作 †
引数 †
戻り値 †
出力値 †
呼び出し関数 †
サンプル †
/* Initialize the DAC channel1 according to the DAC_InitStructure
members */
DAC_InitTypeDef DAC_InitStructure;
DAC_InitStructure.DAC_Trigger = DAC_Trigger_T6_TRGO;
DAC_InitStructure.DAC_WaveGeneration = DAC_WaveGeneration_Noise;
DAC_InitStructure.DAC_LFSRUnmask_TriangleAmplitude =
DAC_LFSRUnmask_Bits11_0;
DAC_InitStructure.DAC_OutputBuffer = DAC_OutputBuffer_Enable;
DAC_Init(DAC_Channel_1, &DAC_InitStructure);
参照 †