| Copyright | (c) David Cox 2021-2024 |
|---|---|
| License | BSD 3-Clause |
| Maintainer | standardsemiconductor@gmail.com |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Ice40.I2c
Description
I2C hard IP primitive from Lattice Ice Technology Library
Documentation
Arguments
| :: HiddenClock dom | |
| => String | initAddr |
| -> String | busAddr |
| -> Signal dom Bool | sbrwi |
| -> Signal dom Bool | sbstbi |
| -> Signal dom (BitVector 8) | sbadri |
| -> Signal dom (BitVector 8) | sbdati |
| -> Signal dom Bit | scli |
| -> Signal dom Bit | sdai |
| -> Unbundled dom (BitVector 8, Bool, Bit, Bit, Bit, Bit, Bit, Bit) | (sbdato, sbacko, i2cirq, i2cwkup, sclo, scloe, sdao, sdaoe) |
I2C primitive wrapper