TM e GUI Freescale embedded graphic user interface
TM e. GUI Freescale embedded graphic user interface driver Petr Gargulak System Application Engineer May 20, 2012 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, t he Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale N O I S R E V 0 0. 3
Agenda 1. Introduction 2. SW structure 3. Graphics objects 4. Support software 5. Extras e. GUI Freescale on Facebook Tag yourself in photos and upload your own! TM 2 Tweeting? Please use hashtag #FTF 2011 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Freescale graphic solutions Swell - PEG: C, C+, PRO • Advanced graphics features • Screen designer (Window. Builder) MCU Performance i. MX Mobile GT • Touch screen support e. GUI • Windows Font and Bitmap creator Kinetis (D 4 D) • Multiple platform support Cold. Fire 3/4 Cold. Fire 1/2 • Lightweight graphic driver • Low system requirements (memory, CPU, etc) HCS 12 • Is Free ! Mobile GT + i. MX implementations recommended for LCD testing ($0) HCS 08 TM 3 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Features • Support for graphical color LCD displays • Easily ported to any Freescale MCU or MPU • Object style of driver (in C language) • Very smart support screen oriented structure of user code • Compounded objects (objects can be owner of child objects) • Embedded graphic objects (widgets) • Round corners support • Touch screen support • Multiple font support (UNICODE) • External Font Support • Buffer for input keys • Screen history capability • Transparent color / various types of color systems • Can be integrated with MQX operating system TM 5 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Features – Graphic objects( Widgets 17 pcs) • Button • Check Box • Radio Button • Gauge • Icon • Label • Menu • Picture • Slider • Graph • Text Box • Scroll Bar • Console • Progress Bar • Group Box • List Box • Edit Box TM 6 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI History e. GUI v 1. 20 • Mobile. GT LCD MPU e. GUI v 2. 21 MPC 5225 e. GUI v 2. 00 • External data support (bmp, • Kinetis support • IAR 6. 1 compatibility strings) • Round corners support • 3 D Buttons D 4 D v 0. 9 • First release (some code packed in libraries) • HCS 08 • Cold. Fire V 1 • Cold. Fire V 2 Q 4 2009 Q 1 2010 Q 2 2010 Q 4 2010 Q 1 2011 Q 3 2011 Q 4 2011 • • e. GUI v 2. 10 • CW 10 compatibility • e. GUI v 1. 0 • Renamed D 4 D to e. GUI • MQX interoperability • HCS 12 TM Q 2 2011 Q 1 2012 Q 2 2012 e. GUI v 3. 00 • Compounded objects • Chinese character e. GUI v 1. 11 • Frame buffer driver • MCF 52277 support D 4 D->e. GUI • D 4 D is used in source code • e. GUI is marketing name Q 3 2010 • 7 support / external fonts Group/List/Edit Box Various color systems K 70/PXD/CRTOUCH support Transparent color Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Freescale e. GUI driver memory footprint The worst case is about 54 KB Flash / ~194 B RAM: • all objects used • round corners are enabled • bitmap decoders Same project without round corners and some bitmap decoders is 45 KB (still all objects) Typical footprint – 45 KB TM 8 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Memory optimization The e. GUI is highly optimized in RAM use. • ROM – all static data • RAM – only variables The ROM/RAM ratio is usually about 90% or better to describe most objects. TM Gauge object Screen 9 Button object Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Support Both Types of LCD Driving Methods Traditional LCD System SPI/Parallel driven LCD Requires a MPU with LCD controller Can be driven from any MCU LCD Controller MPU RGB LCD bus MCU Address and data bus Display DRAM Chip on glass LCD with integrated display RAM Supported: • Coldfire - MCF 5227 x • Mobile. GT – 5125 Program Flash TM SPI / Parallel 10 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Existing e. GUI examples (v 2. 10) e TWR-MCF 51 MM 256 Cold. Fire V 1 SSD 1289 TWR-MCF 51 JE 256 Cold. Fire V 1 SSD 1289 TWR-LCD Cold. Fire V 1 SSD 1289 TWR-MCF 52259 Cold. Fire V 2 SSD 1289 M 52277 EVB Cold. Fire V 2 Frame Buffer TWR-K 60 N 512 Kinetis SSD 1289 TWR-MPC 5125 MPC Frame Buffer DEMOQE_HCS 08 QE 128 HCS 08 SSD 1289 DEMOQE_MCF 51 QE 128 Cold. Fire V 1 SSD 1289 0 0. 3 v I TM w le e b ill CW 10. 1 IAR 6. 1 CW Classic CW 10. 1 CW Classic SSD 1289 IAR 6. 1 RGB Cold. Fire V 1 CW Classic Intel(8080) TWR-MCF 51 CN 128 d e d d a MQX 3. 7 CW 10. 1 LCD Controller MQX 3. 6 IAR 6. 1 MCU Type Flex. Bus(6800) Bare Metal Board Name Legend Option done (in rel. 2. 1) Option possible Not supported by MQX Not applicable U G Interface Parallel SPI Serial b a t 11 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
MQX integration • MQX is a complimentary fully featured OS that provides: − Communication stacks (USB, TCP/IP) − File System − Parallel multiple tasks e. GUI can run as standard task in MQX • Flex. Bus / SPI / Touch screen natively supported by MQX • TM 12 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Processor Expert integration (alpha version) All Configuration options e. GUI Bean – configuration (d 4 d_usr_cfg. h) TM 13 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Processor Expert + e. GUI integration Integration benefits: ØSupport of bare-metal applications directly within one product. Øe. GUI portability to all platforms supported by Processor Expert. ØReuse of Processor Expert logical device drivers as the e. GUI HW abstraction layer. ØEasy support and distribution of e. GUI configurations for development board using component templates. ØEasy migration from one MCU to another. TM 14 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Round corners support The e. GUI version 2. 00 brings round corners support. The round corners add to the final application softer appearance. The e. GUI screen and all objects has add new declaration macro to create round corners. For example: D 4 D_DECLARE_BUTTON Examples Normal style Round style Button Label Slider Screen and D 4 D_DECLARE_RBUTTON TM 15 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI data storages • Internal • All data stored in MCU Flash • Fast and easy access • External • Data are stored in external file system (USB Flash Disk, SD card, …) • Save MCU Flash • Allow multiple language, graphic skins TM 16 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Supported low level drivers • • LCD § SSD 1289 § FSA 506 § LGDP 4531 § Frame buffer SPI, SWSPI, Flex. Bus, Parallel GPIO 8080, Parallel GPIO 6800, MQX_SPI, K 70, PXD, MQX_Flex. Bus Touch screen § Analog resistive § Digital TSC 2046 § CR TOUCH TM S 08_ADC, S 12_ADC, Kinetis_ADC 17 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Documentation and Downloads • www. freescale. com/egui − e. GUI User Manual – DRM 116 − e. GUI Image Converter Utility User Manual – EGUICUG − e. GUI Fact Sheet - EGUIFS − Source code and examples e. GUI Video - http: //www. towergeeks. org/video/tower-lcd-module-in-action • e. GUI at FTF - • http: //www. youtube. com/watch? v=LOI 8 ATmgc 48&feature=player_embedded#! TM 18 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Agenda 1. Introduction 2. SW structure 3. Graphics objects 4. Support software 5. Extras e. GUI Software structure Freescale on Facebook Tag yourself in photos and upload your own! TM 19 Tweeting? Please use hashtag #FTF 2011 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Structure The e. GUI structure is divided into two e. GUI High Level groups: • High level – platform independent layers • Low level – HW interaction layers TM e. GUI Low Level (HW interaction) 20 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI High Level Structure - independent on HW • User application layer – user code base • D 4 D driver layer – main code base of e. GUI • Graphic object code base (D 4 D_BUTTON, D 4 D_LABEL etc. ) • Interaction layer with low level drivers TM 21 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI Low Level Structure – HW depended • Divided into two layers • LCD / Touch screen Controller Layer – handles the needs of different LCD controllers and touch screen read methods • Hardware interaction layer – service the interaction of LCD/Touch screen controller driver with HW. TM 22 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI user customization Selection of low level drivers corresponding to used hw • Setup of system settings • Customize default behavior and visual aspect of screen and widgets • MUST BE setup for each new application • TM 23 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Screen history The e. GUI contains screens history buffer that simplify managing the screen switching. Activate screen Escape screen Features: • Activate screen • Escape screen • Replacing screen in history • Support standard key inputs(ENTER, ESC) TM Empty Log Screen Empty Menu Empty Screen Main Screen 26 B u f f e r d e p t h Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Agenda 1. Introduction 2. SW structure 3. Graphics objects 4. Support software 5. Extras e. GUI Graphic objects Freescale on Facebook Tag yourself in photos and upload your own! TM 27 Tweeting? Please use hashtag #FTF 2011 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_BUTTON object The D 4 D_BUTTON(D 4 D_RBUTTON) is intended to be used as standard (text / picture) button. Features: • Variable position, size, text position and corners radius • 3 D appearance option • Title text that can be run-time changed • Underline, strike through and transparent text option • Disable/enable capability • Two background bitmaps for focused and normal state • Touch screen support • On. Click callback function to simplify the user application TM 28 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_CHECKBOX (RADIO BUTTON)object The D 4 D_CHECKBOX(D 4 D_RCHECKBOX) is intended to be used as standard (text / picture) check box or radio button. Features: • Variable position, size and corners radius • Title text can be underline, strike through and transparent • Disable/enable capability • Touch screen support • On. Change callback function to simplify the user application TM 29 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_GAUGE object The D 4 D_CHECKBOX(D 4 D_RCHECKBOX) is intended to be used as standard (text / picture) check box. Features: • Variable position, size, HUB position, pointer length and corners radius • Title text can be underline, strike through and transparent • Disable/enable capability • Background bitmap that allows making various gauges • On. Change callback function to simplify the user application TM 30 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_PICTURE object The D 4 D_PICTURE(D 4 D_RPICTURE) is intended to be used to show picture on screen. Features: • Variable position, size and corners radius • Disable/enable capability TM 31 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_ICON object The D 4 D_ICON(D 4 D_RICON) is intended to be used as standard icon. The specialty of this object is bitmap array that allows simply change pictures on screen and simply animation. Features: • Variable position, size, text position and corners radius • Title text can be underline, strike through and transparent • Disable/enable capability • Bitmap array (animation capability) • On. Change callback function to simplify the user application TM 32 Icon Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_SLIDER object The D 4 D_SLIDER(D 4 D_RSLIDER) is intended to be used as standard slider. The slider is using to show numerical information in analog appearance and as input object. Features: • Variable position, size, text position and corners radius • Title text that can be run-time changed • Underline, strike through and transparent text option • Disable/enable capability • Touch screen support • Automatic “cross color” bar capability • On. Click callback function to simplify the user application TM 33 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_MENU object The D 4 D_MENU(D 4 D_RMENU) is intended to be used as standard menu option. Features: • Variable position, size, text position and corners radius • Title and items text can be underline and strike through • Title and items icons • Side scroll bar capability for lager menu • Disable/enable capability • Touch screen support • On. Click callback function to simplify the user application TM 34 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_LABEL object The D 4 D_LABEL(D 4 D_RLABEL) is intended to be used to show simple text on screen. Features: • Variable position, size and corners radius • Text can be runtime changed • Disable/enable capability • Text align—Left, center, top, bottom, and right • Underline, strike through and transparent text option TM 35 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_GRAPH object The D 4 D_GRAPH(D 4 D_RGRAPH) is intended to be used to show graph on screen. Features: • Variable position, size and corners radius • Title header + custom grid • Labels on both axes + scalable axis X • Disable/enable capability • Multiple traces of the graph • Variable colors and styles of traces TM 36 #1 #2 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_SCROLL_BAR object The D 4 D_SCROLL_BAR(D 4 D_RSCROLL_BAR) is intended to be used to show scroll bar. The scroll bar is used in some objects(D 4 D_MENU, D 4 D_CONSOLE, etc. ) as child object. Features: • Variable position, size and corners radius • Horizontal and vertical orientation • Runtime selectable maximum, minimum, step, and page parameters • Disable/enable capability • On. Change callback function TM 37 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_CONSOLE object The D 4 D_CONSOLE(D 4 D_RCONSOLE) is intended to be used to show console with standard functionality. Features: • Variable position, size and corners radius • Horizontal and vertical scroll bars (if needed) • Cursor function • Disable/enable capability • Standard key controls TM 38 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_TEXTBOX object The D 4 D_TEXTBOX(D 4 D_RTEXTBOX) is intended to be used to show multi line text with basic formatting capability. Features: • Variable position, size and corners radius • Optional title bar • Vertical scroll bar (if needed) • Word detection and long word wrapping • Tabulators and new line support • Disable/enable capability TM 39 /t /n Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_PROGRESS_BAR object The D 4 D_PROGRESS_BAR(D 4 D_RPROGRESS_BAR) is intended to be used as standard progress bar. This is very simple object that is designed only as information bar about progress. Features: • Variable position, size and corners radius • Disable/enable capability • Automatic “cross color” bar capability TM 40 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_GROUP_BOX object The D 4 D_GROUP_BOX(D 4 D_RGROUP_BOX) is intended to be used as container for objects for better graphic arrangement. Features: • Variable position, size and corners radius • Optional title text • Bevels • Disable/enable capability TM 41 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_LIST_BOX object The D 4 D_LIST_BOX(D 4 D_RLIST_BOX) is intended to be used as standard list box object. Features: • Variable position, size and corners radius • Items text can be underline and strike through • Disable/enable capability • Side scroll bar capability for lager menu • Touch screen support • On. Change callback function to simplify the user application TM 42 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
D 4 D_EDIT_BOX object The D 4 D_EDIT_BOX(D 4 D_REDIT_BOX) is intended to be used as standard edit box object. Features: • Variable position, size and corners radius • Text can be underline and strike through • Disable/enable capability • Cursor capability • Touch screen support • On. Change callback function to simplify the user application TM 43 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Agenda 1. Introduction 2. SW structure 3. Graphics objects 4. Support software 5. Extras Support software Freescale on Facebook Tag yourself in photos and upload your own! TM 44 Tweeting? Please use hashtag #FTF 2011 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI converter utility - bitmaps Convert bitmap images into “C” arrays which e. GUI can display on LCD panels Supported e. GUI Formats: • 16 M / 65 K / 256 colors • 2 -4 -16 -256 colors with palette • Binary output support • All of these formats can be compressed TM 45 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI converter utility - fonts Convert fonts into “C” arrays which e. GUI can display on LCD panels • Converts Windows fonts • Allows editing of individual characters • Allows creating user chars set • UNICODE support • Binary output support TM 46 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
e. GUI converter utility – strings Convert strings into “C” tables which e. GUI can display on LCD panels • Multi language suuport • Save/Load project support • Export all used chars to font converter • UNICODE support TM 47 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Agenda 1. Introduction 2. SW structure 3. Graphics objects 4. Support software 5. Extras Freescale on Facebook Tag yourself in photos and upload your own! TM 48 Tweeting? Please use hashtag #FTF 2011 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Real application – Freescale Kinetis Turntable Demo TM 49 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
AN 4263 – Modification of the e. GUI for alphanumerical LCD There is exist modification of e. GUI driver for alpha numerical displays simply described in AN 4263. • Same features as e. GUI • Without touch screen, colors etc • Support HD 44780 LCD driver • HW cursor support • User char tables support D n e i D C 4 s u re n ca u o , y I U G r a u le e n n i o y at h W TM 50 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
AN 4263 – Modification of the e. GUI for alphanumerical LCD List of objects • Button • Check box and user handled radio button • Label • Menu • Number • List. Box • User defined objects: • Time • Date • Password TM 51 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Agenda 1. Introduction 2. SW structure 3. Graphics objects 4. Support software 5. Extras • Add new low level driver Extras – Add new low level driver Freescale on Facebook Tag yourself in photos and upload your own! TM 52 Tweeting? Please use hashtag #FTF 2011 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Recap - e. GUI Low Level Structure • Divided into two layers • LCD / Touch screen Controller Layer – handles the needs of different LCD controllers and touch screen read methods • Hardware interaction layer – service the interaction of LCD/Touch screen controller driver with HW. TM 53 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Add new low level driver • The each group type of low level drivers(LCD, LCD HW, TCH HW) has added in the file structure the driver templates • This templates are designed to speed up the creation of new low level drivers TM 54 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Add new low level driver – progress #1 • If you want to create the new LCD driver for “LCD 1234” LCD controller • First of all the right template should be copy and rename (complete folder template->lcd 1234) in some directory to keep right file structure of e. GUI • In new created the folder, all files should be renamed(d 4 dlcd_template. c / h to d 4 dlcd_lcd 1234. c / h ) TM 55 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Add new low level driver – progress #2 • At the moment the new low level drivers are prepared to add to project • As next step will be rename all prepared source code in all new files. The key words are(case sensitive): • “TEMPLATE “ => ”LCD 1234” • “Template” => “Lcd 1234” • “template” => “lcd 1234” TM 56 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Add new low level driver – progress #3 New driver name to use in d 4 d_usr_cfg. h file d 4 dlcd_lcd 1234. c New Driver API functions prototypes New driver API structure interface TM 57 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Add new low level driver – progress #4 • Fill up all API functions in new created driver • In our case mainly: • Init • Set. Window • Set. Orientation • Send_Pixel. Color • Delay_ms Just fill up your code • And select new driver in d 4 d_usr_cfg. h TM 58 Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
Q&A Session materials will be posted @ www. freescale. com/FTF TM 59 Look for announcements in the FTF Group on Linked. In or follow Freescale on Twitter Freescale, the Freescale logo, Alti. Vec, C-5, Code. TEST, Code. Warrior, Cold. Fire, C-Ware, the Energy Efficient Solutions logo, mobile. GT, Power. QUICC, Qor. IQ, Star. Core and Symphony are trademarks of Freescale Semiconductor, Inc. , Reg. U. S. Pat. & Tm. Off. Bee. Kit, Bee. Stack, Cold. Fire+, Core. Net, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, Qor. IQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, Turbo. Link, Vorti. Qa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
TM
- Slides: 57