📄 msp430x22x4_adc10_19.c
字号:
//******************************************************************************
// MSP430F22x4 Demo - ADC10, DTC Sample A0 64x, AVcc, HF XTAL
//
// Description: For non-low power applications HF XTAL can source ACLK and be
// used also for CPU MCLK, as in this example. DTC always uses MCLK for data
// transfer. Though not required, ADC10 can also clock from HF XTAL as in this
// example using ACLK.
// MCLK = ACLK = ADC10CLK = HF XTAL in this example.
// DTC Used to sample A0 64 times with reference to AVcc. Software writes to
// ADC10SC to trigger sample burst. In Mainloop MSP430 waits in LPM0 to save
// power until ADC10 conversion burst complete, ADC10_ISR(DTC) will force
// exit from LPM0 in Mainloop on reti. In this example ACLK times sample
// period (16x) and conversion (13x). DTC transfers conversion code to RAM
// 200h - 280h. P1.0 set at start of conversion burst, reset on completion.
// //* HF XTAL NOT INSTALLED ON FET *//
//
// MSP430F22x4
// -----------------
// /|\| XIN|-
// | | | HF XTAL (3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -