Renesas MN4 Spécifications Page 16

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 120
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 15
V850E2/MN4 USB CDC (Communication Device Class) Driver
R01AN0010EJ0101 Rev.1.01 Page 16 of 117
Feb 01, 2012
4. Sample Driver Specifications
This section contains a detailed description of the features and operations of the USB communication device class
(CDC) sample driver for the V850E2/MN4 microcontroller. It also describes the specifications for the functions of the
sample driver.
4.1 Overview
4.1.1 Features
The sample driver has the following processing implemented:
(1)
Initialization
The initialization routine manipulates and sets up various registers to make the USB function controller ready for use.
The register settings are broadly divided into those for the V850E2/MN4’s CPU registers and those for the registers of
the USB function controller. For details, see section 4.2.1, CPU Initialization Processing, and section 4.2.2, USB
Function Controller Initialization Processing.
(2)
Endpoint Processing
The state of the endpoints for data transfer in the USB function controller is reported by the INTUSFA0I1 interrupt.
Broadly classified, there are two interrupts: the CPUDEC interrupt when a request to perform decoding is received in
the sample driver for a control data transfer endpoint (Endpoint0), and the BKO1DT interrupt that indicates that data
has been received normally for the bulk OUT data transfer (reception) endpoint (Endpoint2). The request response is
made in the Endpoint0 processing. For details, see section 4.2.3, USBF Interrupt Processing (INTUSFA0I1).
(3)
Sample Application
The sample application reads the data in the bulk OUT data transfer (reception) endpoint and writes that read data
without modification to the bulk IN data transfer (transmission) endpoint. For details, see section 5, Sample Application
Specifications.
Vue de la page 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 119 120

Commentaires sur ces manuels

Pas de commentaire