
7
Non-volatile customer configuration channel events
2 Application Programming Interface (API)
PHD API Reference
Non-volatile customer configuration channel events
ncc.command
Event
ncc.command
Event Data
Keys
Values
Description
cmd
"read" or "write"
Desired command for non-volatile memory.
addr
<0..32767>
Address, in bytes, from which to read or write.
len
<1..4096>
Number of bytes to read or write.
fmt
"string"
A Crank-style format specifier, e.g. 1s0, 4u1 used to
pack the values.
data
value
Used when writing only. Size and format of the data
depends on size and format being written.
Direction
output
Channel
ncc
Notes
Sent by the application to issue a command to the non-volatile memory.
"read" command:
Assuming all keys are present and their values are valid, the data is extracted from
memory and the
ncc.response
event is posted. You would need to subscribe to this
event to see the result of your "read" command.
The read example below demonstrates a request to read 4 bytes of data from offset
1024. Note that
fmt
is set to 4u1, so
ncc.response
returns 1 element of 4 bytes.
"write" command:
The write example below demonstrates modifying a 4-byte value in the non-volatile
memory at offset 0.
Summary of Contents for PHD28
Page 1: ...Parker Hannifin Display PHD User Guide UG PHD 1040001 201707 010...
Page 52: ...44 PHD Mounting the PHD 9 1 2 PHD50 Figure 18 PHD50 dimensions mm...
Page 53: ...User Guide 45 Mounting the PHD 9 1 3 PHD70 Figure 19 PHD70 dimensions mm...
Page 58: ...Parker Hannifin Display PHD User Guide HY33 5021 IB US...
Page 59: ...PHD Network Interface Configuration Publ no HY33 5021 M1 UK Edition 2017 02 02...
Page 75: ...PHD API Reference Publ no HY33 5021 M2 UK Edition 2017 02 13...