43 lines
1021 B
JSON
43 lines
1021 B
JSON
{
|
|
"peripheral" : {
|
|
"displayName" : "pmod-spi.At0x10015000",
|
|
"baseAddress" : "0x10015000",
|
|
"regfields" : [ {
|
|
"ctrl" : {
|
|
"byteOffset" : "0x0",
|
|
"bitOffset" : 0,
|
|
"bitWidth" : 32,
|
|
"name" : "ctrl",
|
|
"description" : "bit0 busy RO, bit1 csn RW, bit2 quad RW, bit3 CPOL RW, bit4 CPHA RW",
|
|
"accessType" : "RW"
|
|
}
|
|
}, {
|
|
"tx" : {
|
|
"byteOffset" : "0x4",
|
|
"bitOffset" : 0,
|
|
"bitWidth" : 32,
|
|
"name" : "tx",
|
|
"description" : "start transfer",
|
|
"accessType" : "W"
|
|
}
|
|
}, {
|
|
"rx" : {
|
|
"byteOffset" : "0x8",
|
|
"bitOffset" : 0,
|
|
"bitWidth" : 32,
|
|
"name" : "rx",
|
|
"description" : "last received shift register",
|
|
"accessType" : "R"
|
|
}
|
|
}, {
|
|
"ready" : {
|
|
"byteOffset" : "0xc",
|
|
"bitOffset" : 0,
|
|
"bitWidth" : 1,
|
|
"name" : "ready",
|
|
"description" : "controller ready",
|
|
"accessType" : "R"
|
|
}
|
|
} ]
|
|
}
|
|
} |