??
字號:
Philips P87LPC769 D/A Example Program
This example program shows how to configure and use the D/A Converter of the following microcontroller:
Philips P87LPC769
The program configures the D/A's and generates a sine wave on the DAC0 channel and a sawtooth waveform on the DAC1 channel.
To watch the effect this program has on the D/A Converters:
Build the program (Project-Build Target).
Start the Debugger (Debug-Start/Stop Debug Session).
Open the D/A Converter Dialog Box (Peripherals D/A Converter).
Make sure View-Periodic Window Update is checked.
Run the program and watch the D/A outputs change.
When the program writes to DAC0 and DAC1 you will see the corresponding registers change in the D/A Converter dialog.
μVision3 users may enable the built-in Logic Analyzer to view and measure the digital input and analog output signals graphically.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -