| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hardware.KansasLava.LCD.ST7066U
Contents
- phy_Inst_4bit_LCD :: forall c sig. (Clock c, sig ~ Signal c) => Patch (sig (Enabled LCDInstruction)) (sig (U1, U4, Bool)) (sig Ack) ()
- init_LCD :: forall c sig. (Clock c, sig ~ Signal c) => Patch (sig (Enabled LCDInstruction)) (sig (Enabled LCDInstruction)) (sig Ack) (sig Ack)
- mm_LCD_Inst :: forall c sig. (Clock c, sig ~ Signal c) => Patch (sig (Enabled ((X2, X16), U8))) (sig (Enabled LCDInstruction)) (sig Ack) (sig Ack)
- data LCDInstruction
- = ClearDisplay
- | ReturnHome
- | EntryMode {
- moveRight :: Bool
- displayShift :: Bool
- | SetDisplay { }
- | SetShift {
- displayShift :: Bool
- rightShift :: Bool
- | FunctionSet { }
- | SetCGAddr { }
- | SetDDAddr { }
- | ReadBusyAddr
- | ReadRam
- | WriteChar { }
- setDDAddr :: Signal comb U7 -> Signal comb LCDInstruction
- writeChar :: Signal comb U8 -> Signal comb LCDInstruction
- phy_4bit_LCD :: forall c sig. (Clock c, sig ~ Signal c) => Patch (sig (Enabled (U5, U18))) (sig (U1, U4, Bool)) (sig Ack) ()
Documentation
phy_Inst_4bit_LCD :: forall c sig. (Clock c, sig ~ Signal c) => Patch (sig (Enabled LCDInstruction)) (sig (U1, U4, Bool)) (sig Ack) () Source
phy_4bit_Inst gives a instruction-level interface, in terms of the 4-bit interface.
init_LCD :: forall c sig. (Clock c, sig ~ Signal c) => Patch (sig (Enabled LCDInstruction)) (sig (Enabled LCDInstruction)) (sig Ack) (sig Ack) Source
mm_LCD_Inst :: forall c sig. (Clock c, sig ~ Signal c) => Patch (sig (Enabled ((X2, X16), U8))) (sig (Enabled LCDInstruction)) (sig Ack) (sig Ack) Source
Instruction Set
data LCDInstruction Source
Constructors
| ClearDisplay | |
| ReturnHome | |
| EntryMode | |
Fields
| |
| SetDisplay | |
| SetShift | |
Fields
| |
| FunctionSet | |
| SetCGAddr | |
| SetDDAddr | |
| ReadBusyAddr | |
| ReadRam | |
| WriteChar | |
Instances