Docs.rs
  • wlink-0.0.4
    • wlink 0.0.4
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • andelf
    • Dependencies
      • anyhow ^1.0.68 normal
      • bitfield ^0.14.0 normal
      • clap ^4 normal
      • hex ^0.4.3 normal
      • ihex ^3.0.0 normal
      • log ^0.4.17 normal
      • nu-pretty-hex ^0.81.0 normal
      • object ^0.31 normal
      • rusb ^0.9.1 normal
      • simplelog ^0.12.0 normal
      • thiserror ^1.0.38 normal
    • Versions
    • 29.76% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate wlink

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Definitions
?
Change settings

List of all items

Structs

  • commands::ChipId
  • commands::DmiOpResponse
  • commands::GetChipId
  • commands::GetFlashProtected
  • commands::RawCommand
  • commands::ReadMemory
  • commands::SetFlashProtected
  • commands::SetRamAddress
  • commands::control::AttachChip
  • commands::control::AttachChipResponse
  • commands::control::DetachChip
  • commands::control::GetChipRomRamSplit
  • commands::control::GetProbeInfo
  • commands::control::ProbeInfo
  • commands::control::Unknown3
  • device::ChipInfo
  • device::WchLink
  • regs::Abstractcs
  • regs::Command
  • regs::Dmcontrol
  • regs::Dmstatus
  • regs::Hartinfo

Enums

  • RiscvChip
  • WchLinkVariant
  • commands::DmiOp
  • commands::Program
  • commands::Reset
  • error::AbstractcsCmdErr
  • error::Error
  • format::FirmwareFormat

Traits

  • commands::Command
  • commands::Response
  • regs::DMReg

Functions

  • device::check_usb_device
  • device::try_switch_from_dap_to_rv
  • device::try_switch_from_rv_to_dap
  • format::guess_format
  • format::objcopy_binary
  • format::read_firmware_from_file
  • format::read_hex
  • format::read_ihex

Type Definitions

  • error::Result

Constants

  • flash_op::CH32V003
  • flash_op::CH32V103
  • flash_op::CH32V307
  • flash_op::CH569
  • flash_op::CH573
  • regs::DPC
  • regs::GPRS
  • regs::MARCHID
  • regs::MCAUSE
  • regs::MEPC
  • regs::MIMPID
  • regs::MISA
  • regs::MSCRATCH
  • regs::MSTATUS
  • regs::MTVAL
  • regs::MTVEC