COP8 Microcontroller Cop8sax Designer's Guide

Total Page:16

File Type:pdf, Size:1020Kb

COP8 Microcontroller Cop8sax Designer's Guide COP8™ MICROCONTROLLER COP8SAx Designer’s Guide Literature Number 620894-001 January 1997 REVISION RECORD RELEASE REVISION SUMMARY OF CHANGES DATE -001 1/97 First Release ii PREFACE This manual is written with the intention to serve as a Designer’s Guide for those who are considering to use a microcontroller from National’s COP8SAx family of devices. Chapter 1, MICROCONTROLLER BASICS, reviews microcontroller basics, including definitions, building blocks, operation, applications, and programming. Those who are al- ready familiar with microcontrollers can skip this chapter. Chapter 2, COP8SAx FAMILY, provides a detailed overview of the COP8SAx family of devices. It describes the features, architecture, instruction set, and electrical character- istics. For more detailed information, refer to the COP8 Feature Family User’s Manual. Chapter 3, DEVELOPMENT TOOLS, describes the range of development tools that are available for developing and testing application software that is run on the COP8SAx mi- crocontroller. Chapter 4, COP8SAx APPLICATION IDEAS, provides an overview of some design exam- ples using the COP8SAx microcontroller. Within these examples, the users can find ap- plication hints that may be useful in implementing a design. The information contained in this manual is for reference only and is subject to change without notice. No part of this document may be reproduced in any form or by any means without the prior written consent of National Semiconductor Corporation. COP8, MICROWIRE/PLUS and WATCHDOG are trademarks of National Semiconductor Corporation. iii iv CONTENTS Chapter 1 MICROCONTROLLER BASICS 1.1 WHAT IS A MICROCONTROLLER? . 1-1 1.1.1 CPU . 1-1 1.1.2 Program Memory . 1-1 1.1.3 Data Memory . 1-1 1.1.4 Timing . 1-1 1.1.5 Inputs/Outputs . 1-1 1.2 WHAT DOES A MICROCONTROLLER REPLACE? . 1-2 1.3 WHAT ARE MICROCONTROLLER APPLICATIONS? . 1-3 1.4 WHAT IS THE DIFFERENCE BETWEEN A MICROCONTROLLER AND A MICROPROCESSOR? . 1-6 1.5 WHAT IS THE ARCHITECTURE OF A MICROCONTROLLER. 1-6 1.5.1 Von Neumann Architecture . 1-6 1.5.2 Harvard Architecture . 1-7 1.6 HOW DOES A MICROCONTROLLER OPERATE? . 1-7 1.7 DESCRIPTION OF MICROCONTROLLER BUILDING BLOCKS . 1-9 1.7.1 Program Memory . 1-9 1.7.2 Data Memory . 1-10 1.7.3 Microcontroller CPU . 1-12 1.7.4 Timing . 1-15 1.7.5 Oscillator Circuits . 1-16 1.7.6 Instruction Set . 1-19 1.7.7 Programming . 1-20 Chapter 2 COP8SAx7 MICROCONTROLLER 2.1 INTRODUCTION . 2-1 2.2 KEY FEATURES . 2-1 2.2.1 CPU Features . 2-2 2.2.2 Peripheral Features . 2-3 2.2.3 I/O Features . 2-3 2.2.4 Fully Static CMOS Design . 2-3 2.2.5 Temperature Ranges . 2-3 2.2.6 Development Support . 2-3 2.3 BLOCK DIAGRAM. 2-4 2.4 ARCHITECTURE. 2-4 2.5 PACKAGING/PIN EFFICIENCY . 2-4 2.6 CONNECTION DIAGRAMS . 2-5 2.6.1 ORDERING INFORMATION . 2-7 2.7 PIN DESCRIPTIONS. 2-8 2.8 FUNCTIONAL DESCRIPTION. 2-11 2.8.1 CPU Registers . 2-11 2.8.2 Program Memory . 2-12 2.8.3 Data Memory . 2-12 2.8.4 ECON (EPROM Configuration) Register . 2-13 2.8.5 User Storage Space In EPROM . 2-13 2.8.6 OTP Security . 2-14 CONTENTS v 2.8.7 Reset . 2-15 2.8.8 Oscillator Circuits . 2-19 2.8.9 Control Registers . 2-21 2.9 TIMERS. 2-23 2.9.1 Timer T0 (IDLE Timer) . 2-23 2.9.2 Timer T1 . 2-23 2.10 TIMER CONTROL FLAGS . 2-27 2.11 POWER SAVING FEATURES . 2-28 2.11.1 HALT Mode . 2-28 2.11.2 IDLE Mode . 2-29 2.12 MULTI-INPUT WAKEUP . 2-31 2.13 INTERRUPTS. 2-33 2.13.1 Introduction . 2-33 2.13.2 Maskable Interrupts . 2-34 2.13.3 VIS Instruction . 2-36 2.13.4 Non-maskable Interrupt . 2-41 2.13.5 Port L Interrupts . 2-42 2.13.6 Interrupt Summary . 2-42 2.14 WATCHDOG/CLOCK MONITOR . 2-43 2.14.1 Clock Monitor . 2-44 2.14.2 WATCHDOG/Clock Monitor Operation . 2-44 2.14.3 WATCHDOG and Clock Monitor Summary . 2-45 2.14.4 Detection of Illegal Conditions . 2-46 2.15 MICROWIRE/PLUS . 2-47 2.15.1 MICROWIRE/PLUS Operation . 2-48 2.16 MEMORY MAP. 2-52 2.17 INSTRUCTION SET . 2-54 2.17.1 Introduction . 2-54 2.17.2 Instruction Features . 2-54 2.17.3 Addressing Modes . 2-54 2.17.4 Instruction Types . 2-60 2.18 DETAILED FUNCTIONAL DESCRIPTIONS OF INSTRUCTIONS . 2-62 2.18.1 ADC— Add with Carry . 2-64 2.18.2 ADD — Add . 2-65 2.18.3 AND — And . 2-66 2.18.4 ANDSZ — And, Skip if Zero . 2-67 2.18.5 CLR — Clear Accumulator . 2-68 2.18.6 DCOR — Decimal Correct . 2-69 2.18.7 DEC — Decrement Accumulator . 2-70 2.18.8 DRSZ REG# — Decrement Register and Skip if Result is Zero . 2-71 2.18.9 IFBIT — Test Bit . 2-72 2.18.10 IFBNE # — If B Pointer Not Equal . 2-73 2.18.11 IFC — Test if Carry . 2-74 2.18.12 IFEQ — Test if Equal . 2-75 2.18.13 IFGT — Test if Greater Than . 2-76 2.18.14 IFNC — Test If No Carry . 2-77 2.18.15 IFNE — Test If Not Equal . 2-78 2.18.16 INC — Increment Accumulator . 2-79 2.18.17 INTR.
Recommended publications
  • Buku Ajar Mikrokontroler Dan Interface.Pdf
    i BUKU AJAR MIKROKONTROLER DAN INTERACE Sutarsi Suhaeb, S.T., M.Pd. Yasser Abd Djawad, S.T., M.Sc., Ph.D. Dr. Hendra Jaya, S.Pd., M.T. Ridwansyah, S.T., M.T. Drs. Sabran, M.Pd. Ahmad Risal, A.Md. |||||||||||||||||||||||||||||| UNM ii MIKROKONTROLER DAN INTERFACE Universitas Negeri Makassar Fakultas Teknik Pendidikan Teknik Elektronika Penulis: Ahmad Risal Desain Sampul: Ahmad Risal Pembimbing: 1. Sutarsi Suhaeb, S.T., M.Pd. 2. Yasser Abd Djawad, S.T., M.Sc., Ph.D. Penguji: 1. Dr. Hendra Jaya, S.Pd., M.T. 2. Ridwansyah, S.T., M.T. Validator Konten/Materi: Drs. Sabran, M.Pd. Validator Desain/Media: Dr. Muh. Ma'ruf Idris, S.T., M.T. @Desember2017 Kata Pengantar Puji dan syukur penulis panjatkan atas kehadirat Allah SWT, yang telah memberikan rahmat dan karuniaNya, sehingga Buku Ajar Mikrokontroler dan Interface ini dapat diselesaikan dengan baik. Pembahasan materi pada buku ajar ini dilakukan dengan cara memaparkan landasan teori elektronika dan instrumentasi digital khususnya tentang mikrokontroler. Mikrokontroler adalah bidang ilmu keteknikan yang mempelajari tentang pengontrolan alat elektronika yang mengkombinasikan hardware (rangkai- an elektronika) dengan software (pemrograman). Interface adalah model pengaplikasian mikrokontroler dengan perangkat lain ( Perangkat Antar- muka). Mata Kuliah Mikrokontroler dan Interface adalah mata kuliah yang memberikan ilmu pengotrolan berbasis program yang dapat dirubah setiap saat untuk mengontrol bermacam-macam perangkat lewat berbagai macam media komunikasi. Isi buku ajar ini mencakup materi pokok mikrokontroler dan interfa- ce yang mencakup: Sejarah dan Pengenalan Mikrokontroler, Pemrograman Mikrokontroler AVR dan Mikrokontroler Arduino, Interface Data Digital, Interface Dengan LCD, Interface Input Analog (ADC), Interface Output PWM, Interface Serial USART, Interface Serial SPI, Interface Serial I2C.
    [Show full text]
  • 7.4, Integration with Google Apps Is Deprecated
    Google Search Appliance Integrating with Google Apps Google Search Appliance software version 7.2 and later Google, Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 www.google.com GSA-APPS_200.03 March 2015 © Copyright 2015 Google, Inc. All rights reserved. Google and the Google logo are, registered trademarks or service marks of Google, Inc. All other trademarks are the property of their respective owners. Use of any Google solution is governed by the license agreement included in your original contract. Any intellectual property rights relating to the Google services are and shall remain the exclusive property of Google, Inc. and/or its subsidiaries (“Google”). You may not attempt to decipher, decompile, or develop source code for any Google product or service offering, or knowingly allow others to do so. Google documentation may not be sold, resold, licensed or sublicensed and may not be transferred without the prior written consent of Google. Your right to copy this manual is limited by copyright law. Making copies, adaptations, or compilation works, without prior written authorization of Google. is prohibited by law and constitutes a punishable violation of the law. No part of this manual may be reproduced in whole or in part without the express written consent of Google. Copyright © by Google, Inc. Google Search Appliance: Integrating with Google Apps 2 Contents Integrating with Google Apps ...................................................................................... 4 Deprecation Notice 4 Google Apps Integration 4
    [Show full text]
  • Com Google Gdata Client Spreadsheet Maven
    Com Google Gdata Client Spreadsheet Maven Merriest and kinkiest Casey invent almost accelerando, though Todd sucker his spondulicks hided. Stupefied and microbiological Ethan readies while insecticidal Stephen shanghais her lichee horribly and airts cherubically. Quietist and frostbitten Waiter never nest antichristianly when Stinky shook his seizin. 09-Jun-2020 116 24400 google-http-java-client-findbugs-1220-lp1521. It just gives me like a permutation code coverage information plotted together to complete output panel making mrn is com google gdata client spreadsheet maven? Chrony System EnvironmentDaemons 211-1el7centos An NTP client. Richard Huang contact-listgdata. Gdata-mavenmaven-metadataxmlmd5 at master eburtsev. SpreadsheetServiceVersionsclass comgooglegdataclientspreadsheet. Index of sitesdownloadeclipseorgeclipseMirroroomph. Acid transactions with maven coordinates genomic sequences are required js code coverage sequencing kits and client library for com google gdata client spreadsheet maven project setup and table of users as. Issues filed for googlegdata-java-client Record data Found. Uncategorized Majecek's Weblog. API using Spring any Spring Data JPA Maven and embedded H2 database. GData Spreadsheet1 usages comgooglegdataclientspreadsheet gdata-spreadsheet GData Spreadsheet Last feather on Feb 19 2010. Maven dependency for Google Spreadsheet Stack Overflow. Httpmavenotavanopistofi7070nexuscontentrepositoriessnapshots false. Gdata-spreadsheet-30jar Fri Feb 19 105942 GMT 2010 51623. I'm intern to use db2triples for the first time fan is a java maven project. It tries to approve your hours of columns throughout the free software testing late to work. Maven Com Google Gdata Client Spreadsheet Google Sites. Airhacksfm podcast with adam bien Apple. Unable to build ODK Aggregate locally Development ODK. Bmkdep bmon bnd-maven-plugin BNFC bodr bogofilter boinc-client bomber bomns bonnie boo books bookworm boomaga boost1710-gnu-mpich-hpc.
    [Show full text]
  • Download the Index
    Dewsbury.book Page 555 Wednesday, October 31, 2007 11:03 AM Index Symbols addHistoryListener method, Hyperlink wid- get, 46 $wnd object, JSNI, 216 addItem method, MenuBar widget, 68–69 & (ampersand), in GET and POST parameters, addLoadListener method, Image widget, 44 112–113 addMessage method, ChatWindowView class, { } (curly braces), JSON, 123 444–445 ? (question mark), GET requests, 112 addSearchResult method JUnit test case, 175 SearchResultsView class, 329 A addSearchView method, MultiSearchView class, 327 Abstract Factory pattern, 258–259 addStyleName method, connecting GWT widgets Abstract methods, 332 to CSS, 201 Abstract Window Toolkit (AWT), Java, 31 addToken method, handling back button, 199 AbstractImagePrototype object, 245 addTreeListener method, Tree widget, 67 Abstraction, DAOs and, 486 Adobe Flash and Flex, 6–7 AbstractMessengerService Aggregator pattern Comet, 474 defined, 34 Jetty Continuations, 477 Multi-Search application and, 319–321 action attribute, HTML form tag, 507 sample application, 35 Action-based web applications Aggregators, 320 overview of, 116 Ajax (Asynchronous JavaScript and XML) PHP scripts for building, 523 alternatives to, 6–8 ActionObjectDAO class, 527–530 application development and, 14–16 Actions, server integration with, 507–508 building web applications and, 479 ActionScript, 6 emergence of, 3–5 ActiveX, 7 Google Gears for storage, 306–309 Add Import command Same Origin policy and, 335 creating classes in Eclipse, 152 success and limitations of, 5–6 writing Java code using Eclipse Java editor,
    [Show full text]
  • Natalia Nikolaevna Shusharina Maxin.Pmd
    BIOSCIENCES BIOTECHNOLOGY RESEARCH ASIA, September 2016. Vol. 13(3), 1523-1536 Development of the Brain-computer Interface Based on the Biometric Control Channels and Multi-modal Feedback to Provide A Human with Neuro-electronic Systems and Exoskeleton Structures to Compensate the Motor Functions Natalia Nikolaevna Shusharina1, Evgeny Anatolyevich Bogdanov1, Stepan Aleksandrovich Botman1, Ekaterina Vladimirovna Silina2, Victor Aleksandrovich Stupin3 and Maksim Vladimirovich Patrushev1 1Immanuel Kant Baltic Federal University (IKBFU), Nevskogo Str., 14, Kaliningrad, 236041, Russia 2I.M. Sechenov First Moscow State Medical University (First MSMU), Trubetskaya str, 8, Moscow, 119991, Russia 3Pirogov´s Russian National Research Medical University (RNRMU), Ostrovityanova str, 1, Moscow, 117997, Russia http://dx.doi.org/10.13005/bbra/2295 (Received: 15 June 2016; accepted: 05 August 2016) The aim of this paper is to create a multi-functional neuro-device and to study the possibilities of long-term monitoring of several physiological parameters of an organism controlled by brain activity with transmitting the data to the exoskeleton. To achieve this goal, analytical review of modern scientific-and-technical, normative, technical, and medical literature involving scientific and technical problems has been performed; the research area has been chosen and justified, including the definition of optimal electrodes and their affixing to the body of the patient, the definition of the best suitable power source and its operation mode, the definition of the best suitable useful signal amplifiers, and a system of filtering off external noises. A neuro-device mock-up has been made for recognizing electrophysiological signals and transmitting them to the exoskeleton, also the software has been written.
    [Show full text]
  • Ray Cromwell
    Building Applications with Google APIs Ray Cromwell Monday, June 1, 2009 “There’s an API for that” • code.google.com shows 60+ APIs • full spectrum (client, server, mobile, cloud) • application oriented (android, opensocial) • Does Google have a Platform? Monday, June 1, 2009 Application Ecosystem Client REST/JSON, GWT, Server ProtocolBuffers Earth PHP Java O3D App Services Media Docs Python Ruby Utility Blogger Spreadsheets Maps/Geo JPA/JDO/Other Translate Base Datastore GViz Social MySQL Search OpenSocial Auth FriendConnect $$$ ... GData Contacts AdSense Checkout Monday, June 1, 2009 Timefire • Store and Index large # of time series data • Scalable Charting Engine • Social Collaboration • Story Telling + Video/Audio sync • Like “Google Maps” but for “Time” Monday, June 1, 2009 Android Version 98% Shared Code with Web version Monday, June 1, 2009 Android • Full API stack • Tight integration with WebKit browser • Local database, 2D and 3D APIs • External XML UI/Layout system • Makes separating presentation from logic easier, benefits code sharing Monday, June 1, 2009 How was this done? • Google Web Toolkit is the Foundation • Target GWT JRE as LCD • Use Guice Dependency Injection for platform-specific APIs • Leverage GWT 1.6 event system Monday, June 1, 2009 Example App Code Device/Service JRE interfaces Guice Android Browser Impl Impl Android GWT Specific Specific Monday, June 1, 2009 Shared Widget Events interface HasClickHandler interface HasClickHandler addClickHandler(injectedHandler) addClickHandler(injectedHandler) Gin binds GwtHandlerImpl
    [Show full text]
  • Building the Polargrid Portal Using Web 2.0 and Opensocial
    Building the PolarGrid Portal Using Web 2.0 and OpenSocial Zhenhua Guo, Raminderjeet Singh, Marlon Pierce Community Grids Laboratory, Pervasive Technology Institute Indiana University, Bloomington 2719 East 10th Street, Bloomington, Indiana 47408 {zhguo, ramifnu, marpierc}@indiana.edu ABSTRACT service gateway are still useful, it is time to revisit some of the Science requires collaboration. In this paper, we investigate the software and standards used to actually build gateways. Two feasibility of coupling current social networking techniques to important candidates are the Google Gadget component model science gateways to provide a scientific collaboration model. We and the REST service development style for building gateways. are particularly interested in the integration of local and third Gadgets are attractive for three reasons. First, they are much party services, since we believe the latter provide more long-term easier to write than portlets and are to some degree framework- sustainability than gateway-provided service instances alone. Our agnostic. Second, they can be integrated into both iGoogle prototype use case for this study is the PolarGrid portal, in which (Google’s Start Page portal) and user-developed containers. we combine typical science portal functionality with widely used Finally, gadgets are actually a subset of the OpenSocial collaboration tools. Our goal is to determine the feasibility of specification [5], which enables developers to provide social rapidly developing a collaborative science gateway that networking capabilities. Standardization is useful but more incorporates third-party collaborative services with more typical importantly one can plug directly into pre-existing social networks science gateway capabilities. We specifically investigate Google with millions of users without trying to establish a new network Gadget, OpenSocial, and related standards.
    [Show full text]
  • CPE 323 Introduction to Embedded Computer Systems: Introduction
    CPE 323 Introduction to Embedded Computer Systems: Introduction Instructor: Dr Aleksandar Milenkovic CPE 323 Administration Syllabus textbook & other references grading policy important dates course outline Prerequisites Number representation Digital design: combinational and sequential logic Computer systems: organization Embedded Systems Laboratory Located in EB 106 EB 106 Policies Introduction sessions Lab instructor CPE 323: Introduction to Embedded Computer Systems 2 CPE 323 Administration LAB Session on-line LAB manuals and tutorials Access cards Accounts Lab Assistant: Zahra Atashi Lab sessions (select 4 from the following list) Monday 8:00 - 9:30 AM Wednesday 8:00 - 9:30 AM Wednesday 5:30 - 7:00 PM Friday 8:00 - 9:30 AM Friday 9:30 – 11:00 AM Sign-up sheet will be available in the laboratory CPE 323: Introduction to Embedded Computer Systems 3 Outline Computer Engineering: Past, Present, Future Embedded systems What are they? Where do we find them? Structure and Organization Software Architectures CPE 323: Introduction to Embedded Computer Systems 4 What Is Computer Engineering? The creative application of engineering principles and methods to the design and development of hardware and software systems Discipline that combines elements of both electrical engineering and computer science Computer engineers are electrical engineers that have additional training in the areas of software design and hardware-software integration CPE 323: Introduction to Embedded Computer Systems 5 What Do Computer Engineers Do? Computer engineers are involved in all aspects of computing Design of computing devices (both Hardware and Software) Where are computing devices? Embedded computer systems (low-end – high-end) In: cars, aircrafts, home appliances, missiles, medical devices,..
    [Show full text]
  • IST687 - Viz Map HW: Median Income John Fields 5/14/2019
    IST687 - Viz Map HW: Median Income John Fields 5/14/2019 Download the dataset from the LMS that has median income by zip code (an excel file). Step 1: Load the Data 1) Read the data – using the gdata package we have previously used. 2) Clean up the dataframe a. Remove any info at the front of the file that’s not needed b. Update the column names (zip, median, mean, population) library(gdata) ## gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED. ## ## gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED. ## ## Attaching package: 'gdata' ## The following object is masked from 'package:stats': ## ## nobs ## The following object is masked from 'package:utils': ## ## object.size ## The following object is masked from 'package:base': ## ## startsWith rawdata <- read.xls("/Users/johnfields/Library/Mobile Documents/com~apple~CloudDocs/Syracuse/IST687/Homework + Live Video Code/Week 7/MedianZIP_2_2.xls",skip=1) #Rename the columns namesOfColumns<-c("zip","median","mean","population") cleandata<-function(rawdata,namesOfColumns) {colnames(rawdata)<-namesOfColumns return(rawdata) } results<-cleandata(rawdata,namesOfColumns) head(results) ## zip median mean population ## 1 1001 56,663 66,688 16,445 ## 2 1002 49,853 75,063 28,069 ## 3 1003 28,462 35,121 8,491 ## 4 1005 75,423 82,442 4,798 ## 5 1007 79,076 85,802 12,962 ## 6 1008 63,980 78,391 1,244 3) Load the ‘zipcode’ package 1 4) Merge the zip code information from the two data frames (merge into one dataframe) 5) Remove Hawaii and Alaska (just focus on the ‘lower 48’ states)
    [Show full text]
  • Development Board for Embedded Systems
    PEPEonBOARD Development board for embedded systems Pedro Guilherme Antunes Diogo Thesis to obtain the Master of Science Degree in Electrical and Computer Engineering Examination Committee Chairperson: Prof. Nuno Cavaco Gomes Horta Supervisor: Prof. Rui Manuel Rodrigues Rocha Co-supervisor: Prof. Carlos Nuno da Cruz Ribeiro Member of the Committee: Prof. Nuno Filipe Valentim Roma April 2013 ii Dedicado em memoria´ do meu pai... iii iv Agradecimentos Em primeiro lugar gostaria agradecer aos meus orientadores de tese, Professor Rui Rocha, que durante um ano me acompanhou neste processo, pela imensa disponibilidade e pela capacidade de exigir o melhor de mim e das minhas decisoes.˜ Ao Professor Carlos Ribeiro pelo apoio prestado e porque sem ele nao˜ existiria simulador. Nao˜ posso deixar de agradecer ao Instituto Superior Tecnico,´ a todos os professores que me acom- panharam nestes quase 6 anos e ajudaram no meu desenvolvimento enquanto aluno. A todos os elementos do grupo GEMS, o meu obrigado pelas reunioes˜ de quarta-feira. Um especial agradecimento ao Professor Carlos Almeida, por me ter ensinado os fundamentos dos sistemas embebidos que tao˜ uteis´ me foram neste trabalho e pelas ideias nas reunioes˜ de quarta-feira. Ao Jose´ Catela pelas chatices que lhe causei e por todo o apoio no laboratorio´ e com o MoteIST. Ao Sr. Joao˜ Pina por toda a ajuda com os componentes e montagem da placa. Nao˜ seria justo referir nomes, mas a todos os amigos que fiz durante esta jornada, o meu grande obrigado. Vocesˆ fizeram com que fosse mais facil´ ultrapassar os momentos menos bons e tornaram os bons melhores ainda.
    [Show full text]
  • Google Loader Developer's Guide
    Google Loader Developer's Gui... Thursday, November 11, 2010 18:30:23 PM Google Loader Developer's Guide In order to use the Google APIs, you must import them using the Google API loader in conjunction with the API key. The loader allows you to easily import one or more APIs, and specify additional settings (such as language, location, API version, etc.) applicable to your needs. In addition to the basic loader functionality, savvy developers can also use dynamic loading or auto-loading to enhance the performance of your application. Table of Contents Introduction to Loading Google APIs Detailed Documentation google.load Versioning Dynamic Loading Auto-Loading Available APIs Introduction to Loading Google APIs To begin using the Google APIs, first you need to sign up for an API key. The API key costs nothing, and allows us to contact you directly if we detect an issue with your site. To load the APIs, include the following script in the header of your web page. Enter your Google API key where it says INSERT-YOUR-KEY in the snippet below. Warning: You need your own API key in order to use the Google Loader. In the example below, replace "INSERT- YOUR-KEY" with your own key. Without your own key, these examples won't work. <script type="text/javascript" src="https://www.google.com/jsapi?key=INSERT-YOUR- KEY"></script> Next, load the Google API with google.load(module, version), where • module calls the specific API module you wish to use on your page. • version is the version number of the module you wish to load.
    [Show full text]
  • Introduction to 8051 Microcontroller Ntfmi/Tllnecessary Parts of Any Microprocessor/Controller
    Introduction to 8051 microcontroller NtfMi/tllNecessary parts of any Microprocessor/controller • CPU: Centra l Process ing Un it • I/O: Input /Output • Bus: Address bus , Data bus , Control bus • Memory: RAM & ROM • Timer • Interrupt • Serial Port • Parallel Port 2 Microprocessor • General-purpose digital computer Central Processing Unit • CPU for Computers • No RAM, ROM, I/O on CPU chip itself • Example:Intel’s x86, Motorola’s 680x0 Data Bus CPU General- Serial Purpose RAM ROM I/O Timer COM Micro- Port Port processor 4 Microcontroller • A smaller computer • On-chip RAM, ROM, I/O ports... • Example:Motorola’s 6811, Intel’s 8051, Zilog’s Z8 and PIC 16X CPU RAM ROM A single chip Serial I/O Timer COM Port Port Microcontroller 5 Microprocessor Vs . Microcontroller 1. Most microprocessors have 1. Micro controllers have one or many operational codes two. (opcodes) for moving external memory to the CPU. 2. µp have one or two type of bit 2.µc have many handling instruction 3. µp concerned with rapid 3. µc concerned with rapid movement of code and data movement of bits within the chip from external address to chip 4. µp needs many additional parts 4. µc can function as computer tbto become opera tiltional with no additional parts On the hardware point of view….. Microprocessor Microcontroller • CPU is stand-alone • CPU, RAM, ROM, I/O and timer are all on a single chip • RAM, ROM, I/O, timer are • Fix amount of on-chip ROM, separate so designer can decide on RAM, I/O ports the amount of ROM, RAM and I/O ports • Expansive • For applications in which
    [Show full text]