Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

16.5.3.12. get_peripheral_property

Usage

get_peripheral_property <slave-descriptor> <property-name>

Options

  • <slave-descriptor> : Slave descriptor of a connected peripheral device
  • <property-name> : Property name to query from the connected peripheral device

Description

This command is used on an EIC instance callback to obtain a connected peripheral property value. This command is only valid for a callback script. A callback script is set in the driver's *_sw.tcl file, using the command set_sw_property callback_source_file <filename> .

Example

get_peripheral_property jtag_uart supports_preemption;