Skip to content

Instantly share code, notes, and snippets.

#![no_std]
#![no_main]
use core::{cell::RefCell, ops::DerefMut};
use cortex_m::{
interrupt::{free, Mutex},
peripheral::syst::SystClkSource,
};
use cortex_m_rt::{entry, exception};
@strom-und-spiele
strom-und-spiele / adc_dma_dac.rs
Created November 19, 2019 11:38
using adc, dma and dac with the stm32f3discovery
#![no_std]
#![no_main]
//! VCU - Vehicle Control Unit on the stm32f3discovery (STM32 F303 VCT6)
extern crate panic_halt;
use cortex_m::asm;
use cortex_m_rt::entry;