Nios® V Processor Software Developer Handbook

ID 743810
Date 5/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

13.5.3.7. get_class_peripheral

Usage

get_class_peripheral <instance-name> <irq-number>
  • <instance-name> : Name of EIC module instance to find connected peripheral for.
  • <irq-number> : IRQ number to locate connected peripheral device

Description

This command is used on an EIC instance callback to obtain a peripheral slave descriptor connected to a specific IRQ port number. This command is only valid for a callback script.

Example

get_class_peripheral eic_1 $irq_2;