Class BMPReadMemory
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<T>
uk.ac.manchester.spinnaker.messages.bmp.BMPRequest<BMPReadMemory.Response>
uk.ac.manchester.spinnaker.messages.bmp.BMPReadMemory
- All Implemented Interfaces:
- SerializableMessage
A request to read a region of memory from a BMP. The response payload is
 a read-only little-endian 
ByteBuffer intended to be read once.
 
 Calls cmd_read() in bmp_cmd.c.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected final classAn SCP response to a request to read a region of memory on a chip.Nested classes/interfaces inherited from class uk.ac.manchester.spinnaker.messages.bmp.BMPRequestBMPRequest.BMPResponse, BMPRequest.PayloadedResponse<T>
- 
Field SummaryFields inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequestargument1, argument2, argument3, BOOT_CHIP, BOOT_MONITOR_CORE, data, NO_DATA, scpRequestHeaderFields inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequestsdpHeader
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetSCPResponse(ByteBuffer buffer) Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.bmp.BMPRequesttoStringMethods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequestaddToBufferMethods inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequestgetMessageData
- 
Constructor Details- 
BMPReadMemory- Parameters:
- board- which board to read the memory of
- address- The positive base address to start the read from
- size- The number of bytes to read, between 1 and 256
 
 
- 
- 
Method Details- 
getSCPResponseDescription copied from class:SCPRequestParse the response to this message.- Specified by:
- getSCPResponsein class- SCPRequest<BMPReadMemory.Response>
- Parameters:
- buffer- The buffer to parse.
- Returns:
- The message response.
- Throws:
- Exception- If anything goes wrong with parsing.
 
 
-