2.4.14 PVDevice protocol

The PVDevice protocol enables you to implement support for memory-mapped device registers. Call the two methods through the device port on the PVBusSlave to handle bus read/write transactions.

read(pv::ReadTransaction) : pv::Tx_Result
This method permits a device to handle a bus read transaction.
write(pv::WriteTransaction) : pv::Tx_Result
This method permits a device to handle a bus write transaction.

The PVDevice protocol uses two behaviors to differentiate between transactions originating from the processor (loads and stores) and transactions originating from an attached debugger:

slave behavior debugRead(pv::ReadTransaction tx) : pv::Tx_Result
This method enables the device to handle a debug read transaction.
slave behavior debugWrite(pv::WriteTransaction tx) : pv::Tx_Result
This method enables the device to handle a debug write transaction.

The debugRead and debugWrite behaviors are called for all debug transactions.

Non-ConfidentialPDF file icon PDF version100964_1142_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.