Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Intro to Embedded Rust Part 7: Creating a TMP102 Driver Library and Crate | DigiKey

  • DigiKey
  • 2026-03-05
  • 966
Intro to Embedded Rust Part 7: Creating a TMP102 Driver Library and Crate | DigiKey
  • ok logo

Скачать Intro to Embedded Rust Part 7: Creating a TMP102 Driver Library and Crate | DigiKey бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Intro to Embedded Rust Part 7: Creating a TMP102 Driver Library and Crate | DigiKey или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Intro to Embedded Rust Part 7: Creating a TMP102 Driver Library and Crate | DigiKey бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Intro to Embedded Rust Part 7: Creating a TMP102 Driver Library and Crate | DigiKey

In this video, we create reusable embedded Rust libraries in this comprehensive tutorial on driver development for the Raspberry Pi Pico 2 and other microcontrollers. We'll extract our previous TMP102 temperature sensor code into a separate library crate that uses generics and embedded-hal traits to work across any platform that implements the standard I2C interface. This tutorial demonstrates real-world embedded Rust development practices: drivers are published as separate crates on crates.io, allowing the community to share platform-agnostic code that works with STM32, ESP32, nRF52, RP2350, and countless other microcontrollers.
The written guide for this episode can be found here: https://www.digikey.com/en/maker/tuto...
The GitHub repository containing the Docker image and example code for this series can be found here: https://github.com/ShawnHymel/introdu...
This hands-on Rust library development tutorial covers the complete process of creating an embedded driver from scratch. We demonstrate how to use rustdoc documentation comments (/// and //!) to generate API documentation and how to design public interfaces with proper encapsulation. We explore advanced generic programming patterns including generic structs with type parameters, trait bounds using the where clause, and associated types like I2C::Error from the embedded-hal traits. The tutorial demonstrates creating custom error enums with generic type parameters, using the #[derive(Debug, Clone, Copy)] attribute to automatically implement common traits, and defining enums for hardware configuration options like I2C addresses. You'll understand how trait bounds constrain generic types to only those implementing specific interfaces, enabling compile-time verification that your driver works with any compatible HAL implementation.
We then create a demo application that imports our library using a path dependency in Cargo.toml, showing how to use local libraries during development before publishing to crates.io. The demo application demonstrates the practical benefits of good library design: instead of managing raw I2C transactions with register addresses and bit manipulation scattered throughout the code, we simply instantiate our TMP102 driver and call clean methods like read_temperature_c(). You'll see how the application code becomes dramatically simpler and more maintainable when driver complexity is properly encapsulated in a separate library. We walk through the minimal changes needed to convert our previous I2C example to use the new library, highlighting how ownership of the I2C peripheral transfers to the driver and how the generic type parameters get filled in with concrete types from the rp235x-hal when you instantiate the driver with real hardware.

Related Link: https://www.digikey.com/en/maker/tuto...

Links:
Getting Started with STM32 and Nucleo:    • Getting Started with STM32 and Nucleo Part...  
Introduction to Real-Time Operating Systems (RTOS):    • Introduction to RTOS Part 1 - What is a Re...  
Raspberry Pi Pico 2: https://www.digikey.com/en/products/d...

Learn more:
Maker.io - https://www.digikey.com/en/maker
DigiKey’s Blog – TheCircuit https://www.digikey.com/en/blog
Connect with DigiKey on Facebook   / digikey.electronics  
And follow us on X: https://x.com/digikey

Product:
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...
https://www.digikey.com/en/products/d...

Chapters:
0:00 Intro
0:50 Create TMP102 Driver Library
15:34 Create Demo Application
21:19 Build and Flash
23:50 Challenge: Use tmp1x2 Crate
24:39 Reading Assignment
24:55 Conclusion

Комментарии

Информация по комментариям в разработке

Похожие видео

  • Intro to Embedded Rust Part 6: Generics and Traits | DigiKey
    Intro to Embedded Rust Part 6: Generics and Traits | DigiKey
    9 дней назад
  • STOP using FreeCAD WRONG! Do this INSTEAD (Workflow & Tips)
    STOP using FreeCAD WRONG! Do this INSTEAD (Workflow & Tips)
    1 день назад
  • STM32. Основы программирования STM32
    STM32. Основы программирования STM32
  • Spool Speed Ahead [Maker Update] | Maker.io
    Spool Speed Ahead [Maker Update] | Maker.io
    2 дня назад
  • 500 часов в Claude Code за 10 минут ( то что реально работает )
    500 часов в Claude Code за 10 минут ( то что реально работает )
    3 дня назад
  • Когда микроконтроллер становится узким местом? Разбираем реальные ограничения STM32
    Когда микроконтроллер становится узким местом? Разбираем реальные ограничения STM32
    8 дней назад
  • Niri — Hyprland больше НЕ НУЖЕН
    Niri — Hyprland больше НЕ НУЖЕН
    1 день назад
  • Docker за 20 минут
    Docker за 20 минут
    1 год назад
  • Учащимся об информатике и компьютерах, 1988
    Учащимся об информатике и компьютерах, 1988
    5 лет назад
  • Бизнес добивают: русификация вывесок — закон с 1 марта | Запрещенные слова, потеря брендов
    Бизнес добивают: русификация вывесок — закон с 1 марта | Запрещенные слова, потеря брендов
    19 часов назад
  • 1. Программирование микропроцессоров: введение | Программирование микропроцессоров 2026
    1. Программирование микропроцессоров: введение | Программирование микропроцессоров 2026
    7 дней назад
  • Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?
    Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?
    2 месяца назад
  • Запуск нейросетей локально. Генерируем - ВСЁ
    Запуск нейросетей локально. Генерируем - ВСЁ
    3 месяца назад
  • ⚡️ Силовой захват президента || Резкое заявление о капитуляции
    ⚡️ Силовой захват президента || Резкое заявление о капитуляции
    4 часа назад
  • Блокировка Telegram: ТОП-5 защищенных мессенджеров на замену
    Блокировка Telegram: ТОП-5 защищенных мессенджеров на замену
    9 дней назад
  • Массированный Удар По Энергетике⚡️💥 США Усиливают Авианосную Группировку💪 Военные Сводки 07.03.2026
    Массированный Удар По Энергетике⚡️💥 США Усиливают Авианосную Группировку💪 Военные Сводки 07.03.2026
    13 часов назад
  • Фильм Алексея Семихатова «ГРАВИТАЦИЯ»
    Фильм Алексея Семихатова «ГРАВИТАЦИЯ»
    10 дней назад
  • Вся IT-база в ОДНОМ видео: Память, Процессор, Код
    Вся IT-база в ОДНОМ видео: Память, Процессор, Код
    3 месяца назад
  • Топовый 4K-IPS miniLED c наконец то глянцевой матрицей - INNOCN GA32V1M MAX
    Топовый 4K-IPS miniLED c наконец то глянцевой матрицей - INNOCN GA32V1M MAX
    2 дня назад
  • Мониторинг и Логи ПРОДАКШЕН уровня — Grafana + Loki + Prometheus + Promtail
    Мониторинг и Логи ПРОДАКШЕН уровня — Grafana + Loki + Prometheus + Promtail
    10 месяцев назад
  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей video2contact@gmail.com