Generic Read-Write descriptor for driver framework/SPI
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
The issue is a design sketch for a generic SPI transfer API: a transceivev function taking a slice of Transaction structs with input, output, offsets, min_len and pad fields, plus a length helper. It names no existing file or test. Settling the shape of the API with maintainers comes before any code, and the thread has been idle for about 290 days. Done would mean an agreed design and a follow-up issue or proposal, not a patch.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Just dumping this so it isn't lost in the Discord:
An idea we could use for an abstract SPI transfer system:
fn transceivev(actions: []const Transaction) !usize;
const Transaction = struct {
/// buffer to receive
input: []u8 = &.{},
/// index of first received byte
input_offset: usize = 0,
/// buffer to send
output: []const u8 = &.{},
/// index of first sent byte
output_offset: usize = 0,
/// transceive at least this amount of items
min_len: usize = 0,
/// output when total len bigger than output.len
pad: u8 = 0x00,
pub fn length(t: @This()) usize {
return @max(
t.min_length,
t.input_offset + t.input.len,
t.output_offset + t.output.len,
);
}
};
- Ngôn ngữ chính
- Zig
- Star
- 2.3k
- Fork
- 198
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 37
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ZigEmbeddedGroup/microzig
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ZigEmbeddedGroup/microzig#1086 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 69/100
ZigEmbeddedGroup/microzig#1085 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ZigEmbeddedGroup/microzig#1061 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ZigEmbeddedGroup/microzig#1059 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
regz: AVR peripherals generated at address 0 when the register-group name matches the module (ATDF)Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ZigEmbeddedGroup/microzig#1072 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ZigEmbeddedGroup/microzig
Issue tương tự
-
[BUG] OTA Requestor accepts reserved provider endpoint 0xFFFFCó thể đã có người làm @Chapoly1305 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
project-chip/connectedhomeip#74742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
Xinyuan-LilyGO/T-Display-S3#352 · 3 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
lsongdev/node-bluetooth#62 ·
-
docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
adidshaft/grok-gadgets#202 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api-v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
adafruit/Adafruit_Wippersnapper_Arduino#1012 ·
Maintainer thường phản hồi trong vòng 5 ngày