blob: ccd3ea82b1d64dde9b03f9a858bda2150d40a1aa [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ZIRCON_SYSTEM_UAPP_SDIO_SDIO_H_
#define ZIRCON_SYSTEM_UAPP_SDIO_SDIO_H_
#include <fuchsia/hardware/sdio/llcpp/fidl.h>
namespace sdio {
using namespace ::llcpp::fuchsia::hardware::sdio;
using SdioClient = ::llcpp::fuchsia::hardware::sdio::Device::SyncClient;
std::string GetTxnStats(const zx::duration duration, const uint64_t bytes);
void PrintUsage();
void PrintVersion();
int RunSdioTool(SdioClient client, int argc, const char** argv);
} // namespace sdio
#endif // ZIRCON_SYSTEM_UAPP_SDIO_SDIO_H_