Arm Virtual Hardware  Version 2.1.0
AVH FVP Models
 
Loading...
Searching...
No Matches

Virtual Input/Output (VIO) API. More...

Data Structures

struct  ARM_VIO_Type
 Structure type to access the virtual input/output. More...
 
struct  ARM_VIO_Type.SignalOut
 Signal Output. More...
 
struct  ARM_VIO_Type.SignalIn
 Signal Input. More...
 

Macros

#define ARM_VIO_BASE   (0x4FEF0000UL)
 
#define ARM_VIO   ((ARM_VIO_Type *)ARM_VIO_BASE)
 

Description

Virtual Input/Output (VIO) API.

The VIO peripheral is accessed using the ARM_VIO_Type structure that defines registers for the following components:

One VIO peripheral instance is mapped into the memory of a Cortex-M system, for example:

/* Memory mapping of VIO peripheral */
#define ARM_VIO_BASE (0x4FEF0000UL) /*!< VIO Base Address */
#define ARM_VIO ((ARM_VIO_Type *)ARM_VIO_BASE) /*!< VIO struct */

The ARM_VIO_Type structure is defined in arm_vio.h file as follows:

/// Structure type to access the virtual input/output.
typedef struct
{
/// Signal Output
struct {
__IOM uint32_t mask; /*!< (R/W) Bit Mask */
__OM uint32_t signal; /*!< (-/W) Signal Value */
} SignalOut;
/// Signal Input
struct {
__IOM uint32_t mask; /*!< (R/W) Bit Mask */
__IM uint32_t signal; /*!< (R/-) Signal Value */
} SignalIn;
__IOM int32_t Value[64]; /*!< (R/W) Value (32-bit) */

Data Structure Documentation

◆ ARM_VIO_Type

struct ARM_VIO_Type

Structure type to access the virtual input/output.

The ARM_VIO_Type structure provides access to the VIO peripheral registers.

Data Fields
struct ARM_VIO_Type.SignalOut SignalOut Signal Output.

Structure for output signal.

struct ARM_VIO_Type.SignalIn SignalIn Signal Input.

Structure for input signal.

__IOM int32_t Value[64]

(R/W) Value (32-bit)

Index array for digital I/O values.

◆ ARM_VIO_Type.SignalOut

struct ARM_VIO_Type.SignalOut

Signal Output.

Data Fields
__IOM uint32_t mask

(R/W) Bit Mask

__OM uint32_t signal

(-/W) Signal Value

◆ ARM_VIO_Type.SignalIn

struct ARM_VIO_Type.SignalIn

Signal Input.

Data Fields
__IOM uint32_t mask

(R/W) Bit Mask

__IM uint32_t signal

(R/-) Signal Value

Macro Definition Documentation

◆ ARM_VIO_BASE

#define ARM_VIO_BASE   (0x4FEF0000UL)

VIO Base Address

◆ ARM_VIO

#define ARM_VIO   ((ARM_VIO_Type *)ARM_VIO_BASE)

VIO struct