Renesas MN4 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Tournevis électriques Renesas MN4. Renesas MN4 User manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 29
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
APPLICATION NOTE
R01AN0923EJ0100 Rev.1.00 Page 1 of 26
Feb 13, 2012
V850E2/MN4
A/D Converter Control
Introduction
This document explains how to set up the A/D converter (ADC) and also gives an outline of the operation and describes
the procedures for using a sample program. The sample program converts the scan list of channel group (CG) 0 by
using the software trigger in one-shot mode. The number of times conversion of the scan list is repeated can be set from
one to four per CG in a specific register for a given channel, but is set to one in the sample program. Having finished
converting the scan list, the sample program turns on an LED to reflect the result.
Target Device
V850E2/MN4 Microcontrollers
Contents
1. Overview ........................................................................................................................................... 2
2. Usage Environment........................................................................................................................... 4
3. Software ............................................................................................................................................ 5
4. Sample Application............................................................................................................................ 6
R01AN0923EJ0100
Rev.1.00
Feb 13, 2012
Vue de la page 0
1 2 3 4 5 6 ... 28 29

Résumé du contenu

Page 1 - V850E2/MN4

APPLICATION NOTE R01AN0923EJ0100 Rev.1.00 Page 1 of 26 Feb 13, 2012 V850E2/MN4 A/D Converter Control Introduction This document explains how t

Page 2 - 1. Overview

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 10 of 26 Feb 13, 2012 Figure 4.5 ADCAnCTL1 Register Format (2/3)

Page 3 - 1.1 Initialization

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 11 of 26 Feb 13, 2012 Figure 4.6 ADCAnCTL1 Register Format (3/3) Setting exam

Page 4 - 2. Usage Environment

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 12 of 26 Feb 13, 2012 4.2.4 A/D Converter Channel Group Register i (ADCAnCGi) T

Page 5 - 3.1 File Organization

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 13 of 26 Feb 13, 2012 4.2.5 A/D Converter Interrupt Control Register i (ADCAnIO

Page 6 - 4.1 Flow Charts

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 14 of 26 Feb 13, 2012 4.2.6 A/D Converter Mode Control Register 0 (ADCAnCTL0)

Page 7

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 15 of 26 Feb 13, 2012 Figure 4.10 ADCAnCTL0 Register Format (2/2) Setting exa

Page 8 - 4.2 Register Setup

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 16 of 26 Feb 13, 2012 4.2.7 A/D Converter Software Trigger Register i (ADCAnTRG

Page 9

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 17 of 26 Feb 13, 2012 4.2.8 A/D Conversion Result Registers (ADCAnLCR, ADCAnCmC

Page 10 - Feb 13, 2012

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 18 of 26 Feb 13, 2012 Figure 4.13 ADCAnLCR Register Format (2/2)

Page 11

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 19 of 26 Feb 13, 2012 Figure 4.14 ADCAnCmCR Register Format (1/2)

Page 12

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 2 of 26 Feb 13, 2012 1. Overview This sample program converts the scan list of C

Page 13

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 20 of 26 Feb 13, 2012 Figure 4.15 ADCAnCmCR Register Format (2/2)

Page 14

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 21 of 26 Feb 13, 2012 Figure 4.16 ADCAnDBiCR Register Format (1/2)

Page 15

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 22 of 26 Feb 13, 2012 Figure 4.17 ADCAnDBiCR Register Format (2/2) Setting ex

Page 16

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 23 of 26 Feb 13, 2012 4.3 Function Specifications This section describes the spe

Page 17

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 24 of 26 Feb 13, 2012 [Function Name] hbus_initial() [Function] Initializes

Page 18

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 25 of 26 Feb 13, 2012 4.3.3 Control Processing (adc_control.c) [Function Name]

Page 19

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 26 of 26 Feb 13, 2012 Website and Support Renesas Electronics Website http://www

Page 20

A-1 Revision Record Description Rev. Date Page Summary 1.00 Feb 13, 2012 — First edition issued

Page 21

General Precautions in the Handling of MPU/MCU Products The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed

Page 22

Notice1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to chan

Page 23 - 4.3 Function Specifications

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 3 of 26 Feb 13, 2012 1.1 Initialization The general registers and functional pin

Page 24

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 4 of 26 Feb 13, 2012 2. Usage Environment This section explains the circuit diag

Page 25

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 5 of 26 Feb 13, 2012 3. Software This section describes the organization of the

Page 26 - Website and Support

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 6 of 26 Feb 13, 2012 4. Sample Application This section explains the A/D convers

Page 27 - Revision Record

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 7 of 26 Feb 13, 2012 4.1.2 Interrupt Processing Flow When A/D conversion ends o

Page 28

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 8 of 26 Feb 13, 2012 4.2 Register Setup This section explains how to set up the

Page 29 - SALES OFFICES

V850E2/MN4 A/D Converter Control R01AN0923EJ0100 Rev.1.00 Page 9 of 26 Feb 13, 2012 4.2.3 A/D Converter Mode Control Register 1 (ADCAnCTL1) Th

Commentaires sur ces manuels

Pas de commentaire