Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SPI_STMPE610 UniGraphic mbed vt100
view.h
00001 /** mbed oscilloscope my implementation of a oscillo scope 00002 * Copyright (c) 2014, 2015 Motoo Tanaka @ Design Methodology Lab 00003 * 00004 * view.h 00005 * 00006 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00007 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00008 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00009 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00010 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00011 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00012 * THE SOFTWARE. 00013 */ 00014 #ifndef _VIEW_H_ 00015 #define _VIEW_H_ defined 00016 00017 extern int pane_w ; 00018 extern int pane_h ; // height per channel 00019 extern int head_h ; // header height 00020 extern int foot_h ; // footer height 00021 extern int right_margin ; 00022 extern int left_margin ; 00023 00024 void initTFT(void) ; 00025 void eraseChFrame(int ch) ; 00026 void eraseGraphFrames(void) ; 00027 void drawChFrame(int ch) ; 00028 bool inChFrame(int ch, int x, int y) ; 00029 void plotCh_line(int turn, int ch, int index, int color) ; 00030 void drawGraphFrames(void) ; 00031 void drawChart(void) ; 00032 void printMode(void) ; 00033 void printTimeDiv(void) ; 00034 void printTrigMode(void) ; 00035 void printTrigLevel(void) ; 00036 void drawTrigMark(void) ; 00037 void eraseTrigMark(void) ; 00038 #endif /* _VIEW_H_ */
Generated on Wed Jul 13 2022 01:48:09 by
