ice40-prim-0.1.0.0: Lattice iCE40 Primitive IP
Copyright(c) David Cox 2021
LicenseBSD 3-Clause
Maintainerstandardsemiconductor@gmail.com
Safe HaskellNone
LanguageHaskell2010

Ice40.Led

Description

Synopsis

Documentation

led Source #

Arguments

:: HiddenClock dom 
=> Signal dom Bit

cs - CS to write LEDD IP registers

-> Signal dom (BitVector 8)

dat - data to write into the LEDD IP registers

-> Signal dom (BitVector 4)

addr - LEDD IP register address

-> Signal dom Bool

en - data enable input to indicate data and address are stable

-> Signal dom Bool

exe - enable to IP to run the blinking sequence. When it is LOW, the sequence stops at the nearest OFF state

-> Unbundled dom (Bit, Bit, Bit, Bool)

(pwmOut0, pwmOut1, pwmOut2, LED on indicator)

SB_LEDDA_IP primitive generates the RGB PWM outputs for the RGB LED drivers. The IP contains registers that are programmed in byte the SCI bus interface signals.