Copyright | (c) Marc Fontaine 2017 |
---|---|
License | BSD3 |
Maintainer | Marc.Fontaine@gmx.de |
Stability | experimental |
Portability | GHC-only |
Safe Haskell | None |
Language | Haskell2010 |
This example show the combination of hardware timers with hardware DMA. Timer 4 triggers DMA1_Channel7 and the DMA writes data to the USART. Instead of the USART its also possible to write to any other peripheral. Applications are wave-form-generation or hard-real-time control.
Documentation
sendCommTimer :: IO () Source #