{
"bmc.kepler.Chip.BitIO": {
"properties": {},
"methods": {
"Read": {
"req": {
"Offset": {
"baseType": "U32",
"description": "读取的offset,偏移位置"
},
"Length": {
"baseType": "U8",
"description": "读取长度"
},
"Mask": {
"baseType": "U32",
"description": "掩码: 用于与从硬件读取的内容进行按位与操作"
}
},
"rsp": {
"OutData": {
"baseType": "U8[]",
"description": "读取的返回结果"
}
},
"description": "按位读:将从硬件读取数据与掩码进行按位与操作后返回结果"
},
"Write": {
"req": {
"Offset": {
"baseType": "U32",
"description": "写入的offset,偏移位置"
},
"Length": {
"baseType": "U8",
"description": "写入长度"
},
"Mask": {
"baseType": "U32",
"description": "写入掩码: 写入时先获取值,再按位修改后写入到硬件"
},
"InData": {
"baseType": "U8[]",
"description": "写入的数据内容"
}
},
"description": "按位写:将indata内容与掩码进行按位与修改后写入芯片的offset位置"
}
}
}
}