Instrukcja obsługi Microchip ATSAMD21E16L

Przeczytaj poniżej 📖 instrukcję obsługi w języku polskim dla Microchip ATSAMD21E16L (32 stron) w kategorii Niesklasyfikowane. Ta instrukcja była pomocna dla 3 osób i została oceniona przez 2 użytkowników na średnio 4.5 gwiazdek

Strona 1/32
Atmel Microcontrollers
AT09339: USB Host Interface (UHI) for Mass
Storage Class (MSC)
APPLICATION NOTE
Introduction
USB Host Interface (UHI) for Mass Storage Class (MSC) provides an
interface for the configuration and management of USB MSC host.
The outline of this documentation is as follows:
API Overview
Quick Start Guide for USB Host Mass-Storage Module (UHI MSC)
Configuration File Examples
For more details for Atmel® Software Framework (ASF) USB Host Stack,
refer to following application note:
AVR4950: ASF - USB Host Stack
Atmel-42344B-USB-Host-Interface-UHI-for-Mass-Storage-Class-MSC_AT09339_Application Note-12/2015
Table of Contents
Introduction......................................................................................................................1
1. Software License....................................................................................................... 4
2. API Overview.............................................................................................................5
2.1. Variable and Type Definitions....................................................................................................... 5
2.1.1. Type uhi_msc_scsi_callback_t...................................................................................... 5
2.2. Structure Definitions..................................................................................................................... 5
2.2.1. Struct uhi_msc_lun_t..................................................................................................... 5
2.3. Macro Definitions..........................................................................................................................5
2.3.1. Interface with USB Host Core (UHC).............................................................................5
2.4. Function Definitions......................................................................................................................5
2.4.1. Functions Required by UHC.......................................................................................... 5
2.4.2. UHI for Mass Storage Class.......................................................................................... 6
2.4.3. USB Host Mass Storage Interface for Control Access Module......................................8
2.5. Enumeration Definitions..............................................................................................................11
2.5.1. Enum lun_status_t....................................................................................................... 11
3. Quick Start Guide for USB Host Mass-Storage Module (UHI MSC)........................12
3.1. Basic Use Case..........................................................................................................................12
3.1.1. Setup Steps................................................................................................................. 12
3.1.2. Usage Steps................................................................................................................ 12
3.2. Advanced Use Cases.................................................................................................................13
3.3. Enable USB High Speed Support.............................................................................................. 13
3.3.1. Setup Steps................................................................................................................. 13
3.3.2. Usage Steps................................................................................................................ 13
3.4. Multiple Classes Support............................................................................................................13
3.4.1. Setup Steps................................................................................................................. 14
3.4.2. Usage Steps................................................................................................................ 14
3.5. Dual Roles Support.................................................................................................................... 14
3.5.1. Setup Steps................................................................................................................. 14
3.5.2. Usage Steps................................................................................................................ 14
4. Configuration File Examples....................................................................................16
4.1. conf_usb_host.h......................................................................................................................... 16
4.1.1. UHI MSC Single...........................................................................................................16
4.1.2. UHI MSC Multiple (Composite)....................................................................................17
4.2. conf_clock.h................................................................................................................................18
4.2.1. AT32UC3A0, AT32UC3A1, and AT32UC3B Devices (USBB)..................................... 18
4.2.2. AT32UC3A3 and AT32UC3A4 Devices (USBB with High Speed Support)................. 18
4.2.3. AT32UC3C, ATUCXXD, ATUCXXL3U, and ATUCXXL4U Devices (USBC)................19
4.2.4. SAM3X and SAM3A Devices (UOTGHS: USB OTG High Speed)..............................20
4.3. conf_clocks.h..............................................................................................................................21
4.3.1. SAM D21 Devices (USB).............................................................................................21
4.4. conf_board.h...............................................................................................................................24
Atmel AT09339: USB Host Interface (UHI) for Mass Storage Class (MSC) [APPLICATION NOTE]
Atmel-42344B-USB-Host-Interface-UHI-for-Mass-Storage-Class-MSC_AT09339_Application Note-12/2015
2
4.4.1. AT32UC3A0, AT32UC3A1, and AT32UC3B Devices (USBB)..................................... 24
4.4.2. AT32UC3A3 and AT32UC3A4 Devices (USBB with High Speed Support)................. 24
4.4.3. AT32UC3C, ATUCXXD, ATUCXXL3U, and ATUCXXL4U Devices (USBC)................24
4.4.4. SAM3X and SAM3A Devices (UOTGHS: USB OTG High Speed).............................. 25
4.4.5. SAM D21 Devices (USB).............................................................................................26
5. USB Host Basic Setup.............................................................................................27
5.1. USB Host User Configuration.....................................................................................................27
5.2. USB Host User Callback............................................................................................................ 27
5.3. USB Host Setup Steps............................................................................................................... 28
5.3.1. USB Host Controller (UHC) - Prerequisites................................................................. 28
5.3.2. USB Host Controller (UHC) - Example Code.............................................................. 28
5.3.3. USB Device Controller (UHC) - Workflow....................................................................29
5.4. conf_clock.h Examples...............................................................................................................29
6. Document Revision History..................................................................................... 31
Atmel AT09339: USB Host Interface (UHI) for Mass Storage Class (MSC) [APPLICATION NOTE]
Atmel-42344B-USB-Host-Interface-UHI-for-Mass-Storage-Class-MSC_AT09339_Application Note-12/2015
3

Specyfikacje produktu

Marka: Microchip
Kategoria: Niesklasyfikowane
Model: ATSAMD21E16L

Potrzebujesz pomocy?

Jeśli potrzebujesz pomocy z Microchip ATSAMD21E16L, zadaj pytanie poniżej, a inni użytkownicy Ci odpowiedzą




Instrukcje Niesklasyfikowane Microchip

Microchip

Microchip ATECC608B Instrukcja

7 Października 2024
Microchip

Microchip HV860 Instrukcja

7 Października 2024
Microchip

Microchip EVB-LAN9255 Instrukcja

7 Października 2024
Microchip

Microchip LX4580 Instrukcja

7 Października 2024
Microchip

Microchip LX7720 Instrukcja

7 Października 2024
Microchip

Microchip AT32UC3C0128C Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3A3256 Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3A364 Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3B0256 Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3A0512 Instrukcja

4 Października 2024

Instrukcje Niesklasyfikowane

Najnowsze instrukcje dla Niesklasyfikowane

Stihl

Stihl HT 70 Instrukcja

15 Października 2024
Ernesto

Ernesto H14270 Instrukcja

15 Października 2024
Uniden

Uniden BT MIC KIT Instrukcja

15 Października 2024
Vaude

Vaude Omnis Bike 26 Instrukcja

15 Października 2024
ART

ART ProChannel II Instrukcja

15 Października 2024
Aukey

Aukey DR02J Instrukcja

15 Października 2024
Master Lock

Master Lock 653EURD Instrukcja

15 Października 2024
Roland

Roland FR-18 Diatonic Instrukcja

15 Października 2024