Fredric Rice / Mbed 2 deprecated NextGen-LaserMonitor

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI mbed-os BSP_DISCO_F429ZI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LaserMon-Main.h Source File

LaserMon-Main.h

00001 
00002 // ----------------------------------------------------------------------
00003 // LaserMon-Main.h
00004 //
00005 // Fredric L. Rice, June 2019
00006 //
00007 // ----------------------------------------------------------------------
00008 
00009 #define TEST_SIGNAL_OUT     PA_5
00010 #define LASER_SCAN_IN       PC_1
00011 #define TEC_VOLTAGE_IN      PC_3
00012 #define USE_SERIAL_TX       PA_9
00013 #define USE_SERIAL_RX       PA_10
00014 
00015 // ----------------------------------------------------------------------
00016 // Defined constants and MACROs
00017 //
00018 // ----------------------------------------------------------------------
00019 
00020 // For some purposes we may want to know the dimentions of the screen
00021 #define LCD_WIDTH               240
00022 #define LCD_HEIGHT              320
00023 
00024 // This describes how many pixels to the right we start plotting porch
00025 #define INITIAL_PORCH_HEIGHT    50
00026 
00027 // ----------------------------------------------------------------------
00028 // Describe data which we export to all other modules
00029 //
00030 // ----------------------------------------------------------------------
00031 
00032     // We may be accessing the LCD
00033     extern LCD_DISCO_F429ZI st_lcd;
00034 
00035     // We may be accessing the touch screen
00036     extern TS_DISCO_F429ZI st_touchScreen;
00037 
00038 // ----------------------------------------------------------------------
00039 // Function prototypes that Main will export globally
00040 //
00041 // ----------------------------------------------------------------------
00042 
00043 extern void LaserMonMainInformScanInformation(uint16_t u16_scanLength, uint16_t u16_scanCount);
00044 extern void LaserMonMainInformTECVoltage(uint16_t u16_thisVoltage);
00045 
00046 // End of file
00047 
00048