![](/media/cache/profiles/bba744f5b4581db0ecf8eb6385c4c92a.50x50_q85.jpg)
TFT
Fork of Ovation_Controller_1 by
Embed:
(wiki syntax)
Show/hide line numbers
system_defines.h
00001 /************** All the major system definitions are done here ******************/ 00002 00003 // control pins for I/O 00004 DigitalOut CS(p28); /* chip select the SSD1963 active LOW */ 00005 DigitalOut RS(p8); /* reset to SSD1963 - not used in this implementation*/ 00006 DigitalOut nWR(p7); /* write out to SSD1963 active LOW */ 00007 DigitalOut nRD(p6); /* read data from SSD1963 active LOW - but not used */ 00008 DigitalOut DC(p5); /* Data/Command Select: 1=Command, 0=Data); */ 00009 DigitalOut myled(LED1); /* for test purposes only - on the mbed module */ 00010 00011 /**************************** data bus I/O pins *********************************/ 00012 BusOut DB(p10,p11,p12,p13,p14,p15,p16,p17); //removed 00013 /******************************************************************************/ 00014 /* System Definitions */ 00015 /* the following are the pin assignments on the mbed controller */ 00016 DigitalOut pga2320(p30);/* normally LOW; take HIGH to select PGA2320 */ 00017 DigitalOut phono(p29); 00018 DigitalIn IRx(p27); /* p28 is the Tx outputand is not used */ 00019 DigitalIn IPSELPB(p26); 00020 DigitalIn IPSELB(p25); 00021 DigitalIn IPSELA(p24); 00022 DigitalIn VOLPB(p23); 00023 DigitalIn VOLB(p22); 00024 DigitalIn VOLA(p21); 00025 AnalogIn ALS(p20); 00026 DigitalOut SBUSON(p19); 00027 DigitalOut NAOE(p18); /* A6821 output enable. Active LOW */ 00028 //DigitalOut DC(p17); 00029 DigitalOut RD(LED2); /* also ASTROBE */ 00030 DigitalOut WR(LED3); /* MDATA */ 00031 //DigitalOut RS(p14); /* ACLK */ 00032 //DigitalOut CS(p13); 00033 //DigitalOut myled(LED1); 00034 //BusInOut DB(p12, p11, p10, p9, p8, p7, p6, p5); /* for the LCD display */ 00035 00036 Serial pc(USBTX, USBRX); /* for debugging and in final version for test mode */ 00037 Serial remote(NC, p27); /* remote control serial input; 1200bd 8 data, 1 stop and no parity */ 00038 AnalogIn light(p20); /* for auto display brightness */ 00039
Generated on Thu Jul 14 2022 01:02:03 by
![doxygen](doxygen.png)