blob: 63a558c80f5074f5adb728a6be49bb74dc0a9cc5 [file] [log] [blame]
// Copyright 2019 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.
#pragma once
#include <hwreg/bitfields.h>
namespace sdhci {
class CoreHcMode : public hwreg::RegisterBase<CoreHcMode, uint32_t> {
public:
static auto Get() { return hwreg::RegisterAddr<CoreHcMode>(0x078); }
DEF_BIT(13, ff_clk_sw_rst_disable);
DEF_BIT(0, hc_mode_en);
};
class HcVendorSpec3 : public hwreg::RegisterBase<HcVendorSpec3, uint32_t> {
public:
static auto Get() { return hwreg::RegisterAddr<HcVendorSpec3>(0x1b0); }
DEF_BIT(10, alt_fifo_en);
};
} // namespace sdhci