{
    "bmc.dev.Chip.BlockIO": {
        "properties": {},
        "methods": {
            "Read": {
                "req": {
                    "Offset": {
                        "baseType": "U32"
                    },
                    "Length": {
                        "baseType": "U32"
                    }
                },
                "rsp": {
                    "OutData": {
                        "baseType": "U8[]"
                    }
                },
                "description": "块读方法"
            },
            "Write": {
                "req": {
                    "Offset": {
                        "baseType": "U32"
                    },
                    "InData": {
                        "baseType": "U8[]"
                    }
                },
                "description": "块写方法"
            },
            "WriteRead": {
                "req": {
                    "InData": {
                        "baseType": "U8[]"
                    },
                    "ReadLength": {
                        "baseType": "U32"
                    }
                },
                "rsp": {
                    "OutData": {
                        "baseType": "U8[]"
                    }
                },
                "description": "扩展读方法"
            },
            "ComboWriteRead": {
                "req": {
                    "WriteOffset": {
                        "baseType": "U32"
                    },
                    "InData": {
                        "baseType": "U8[]"
                    },
                    "ReadOffset": {
                        "baseType": "U32"
                    },
                    "ReadLength": {
                        "baseType": "U32"
                    }
                },
                "rsp": {
                    "OutData": {
                        "baseType": "U8[]"
                    }
                },
                "description": "先写后读原子方法"
            },
            "BatchWrite": {
                "req": {
                    "WriteData": {
                        "baseType": "Array",
                        "items": {
                            "$ref": "#/defs/SingleWriteData"
                        }
                    }
                },
                "description": "批量写入方法"
            },
            "PluginRequest": {
                "req": {
                    "PluginName": {
                        "baseType": "String"
                    },
                    "Cmd": {
                        "baseType": "String"
                    },
                    "Params": {
                        "baseType": "U8[]"
                    }
                },
                "rsp": {
                    "OutData": {
                        "baseType": "U8[]"
                    }
                },
                "description": "插件访问方法"
            }
        }
    },
    "defs": {
        "SingleWriteData": {
            "Offset": {
                "baseType": "U32"
            },
            "InData": {
                "baseType": "U8[]"
            }
        }
    }
}