Giter Club home page Giter Club logo

embassy's Introduction

Embassy 代码注释版

源仓库:https://github.com/embassy-rs/embassy

在线文档

参与翻译的步骤

  1. fork 此仓库到自己的 Github;
  2. 修改项目根目录下的 readme.md, 填写自己计划翻译的 crate 以及文件,然后提交 Pull requests 到本仓库(让他同学知晓你已经在翻译这部分内容);
  3. 开始翻译自己登记的内容,将翻译文件以 Pull requests 的方式到本仓库(CI 会自动构建在线文档)。

翻译规约(可以在这里讨论)

  1. 不改动源文件的任何代码和注释,只在其基础新增中文注释;
  2. 新增的中文注释结构和格式需要与原文保持一致;
  3. 使用分割线---来分割中英文注释。

翻译登记

Crate File Translation author Status Reviser
embassy-executor README.md LighkLife Done
embassy-executor arch/std.rs LighkLife Done
embassy-executor arch/riscv32.rs LighkLife Done
embassy-executor lib.rs LighkLife Done
embassy-executor spawner.rs LighkLife Done
embassy-executor raw/mod.rs LighkLife Done
embassy-executor raw/state_atomics.rs LighkLife Done
embassy-executor raw/run_queue_atomics.rs LighkLife Done
embassy-executor raw/waker_turbo.rs LighkLife Done
embassy-executor raw/waker.rs LighkLife Done
embassy-futures all StaRainorigin Done
embassy-time ziyouwa Doing

embassy's People

Contributors

alexmoon avatar bobmcwhirter avatar bors[bot] avatar bugadani avatar cbjamo avatar ceekdee avatar chemicstry avatar danbev avatar diondokter avatar dirbaio avatar grantm11235 avatar huntc avatar jacobrosenthal avatar julidi avatar kalkyl avatar kbleeke avatar liamolucko avatar lighklife avatar lulf avatar mathiaskoch avatar matoushybl avatar pennae avatar quentinmit avatar rmja avatar rubdos avatar thalesfragoso avatar theunkn0wn1 avatar timokroeger avatar vdorst avatar xoviat avatar

embassy's Issues

翻译格式讨论

目前暂定格式为如下风格:

  1. 不改动源文件的任何代码和注释,只在其基础新增中文注释;
  2. 新增的中文注释结构和格式需要与原文保持一致;
  3. 使用分割线---来分割中英文注释(注意: --- 上面的一行必须空出来,才会生效)。
/// 全局时间基线中的时间刻度(Ticks),单位是Ticks/秒
///
/// 时间刻度在 tick-* 开头的 Cargo features中定义, 在 时间驱动中设置。一些驱动仅支持固定的频率,
/// 另一些允许 通过Cargo features单独设置。作为最终用户,在embassy中并 不能设置tick-* features。
///
/// ---
/// Ticks per second of the global timebase.
///
/// This value is specified by the `tick-*` Cargo features, which
/// should be set by the time driver. Some drivers support a fixed tick rate, others
/// allow you to choose a tick rate with Cargo features of their own. You should not
/// set the `tick-*` features for embassy yourself as an end user.
pub const TICK_HZ: u64 = tick::TICK_HZ;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.