atom-1.0.13: An EDSL for embedded hard realtime applications.

Copyright(c) 2015 Chris Hodapp
Safe HaskellNone
LanguageHaskell98

Language.Atom.Example.External

Description

This demonstrates the use of word16' to reference an external variable, and the use of call to call an external function.

Synopsis

Documentation

main :: IO () Source

Invoke the Atom compiler

extern :: Atom () Source

Top-level rule

prePostCode :: [Name] -> [Name] -> [(Name, Type)] -> (String, String) Source