Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public
Document Table of Contents

16.5.3.7. get_class_peripheral

Usage

get_class_peripheral <instance-name> <irq-number>

Options

  • <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;