| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.SVD.Types
Synopsis
- data AccessType
- toAccessType :: String -> AccessType
- showAccessType :: AccessType -> String
- data AddressBlock = AddressBlock {}
- data Cluster = Cluster {}
- data Device = Device {}
- data Dimension = Dimension {}
- data DimensionIndex
- data Interrupt = Interrupt {}
- data Peripheral = Peripheral {}
- data Register = Register {}
- data Field = Field {}
Documentation
data AccessType Source #
Constructors
| ReadOnly | |
| WriteOnly | |
| ReadWrite | |
| WriteOnce | |
| ReadWriteOnce |
Instances
toAccessType :: String -> AccessType Source #
showAccessType :: AccessType -> String Source #
data AddressBlock Source #
Constructors
| AddressBlock | |
Fields | |
Instances
Cluster describes a sequence of neighboring registers within a peripheral. A cluster specifies the addressOffset relative to the baseAddress of the grouping element. All register elements within a cluster specify their addressOffset relative to the cluster base address (peripheral.baseAddress + cluster.addressOffset).
Constructors
| Cluster | |
Fields | |
Instances
Constructors
| Device | |
Fields
| |
Instances
Constructors
| Dimension | |
Fields | |
Instances
| Generic Dimension Source # | |
| Show Dimension Source # | |
| Serialize Dimension Source # | |
| Eq Dimension Source # | |
| Ord Dimension Source # | |
| HasIncrement Dimension Int Source # | |
| HasIndex Dimension DimensionIndex Source # | |
Defined in Data.SVD.Lens | |
| HasSize Dimension Int Source # | |
| HasDimension Cluster (Maybe Dimension) Source # | |
| HasDimension Field (Maybe Dimension) Source # | |
| HasDimension Register (Maybe Dimension) Source # | |
| type Rep Dimension Source # | |
Defined in Data.SVD.Types type Rep Dimension = D1 ('MetaData "Dimension" "Data.SVD.Types" "data-svd-0.1.1.0-2xQ8GyPYV7lBQtHfa1MU8S" 'False) (C1 ('MetaCons "Dimension" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "dimensionIncrement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "dimensionIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DimensionIndex)))) | |
data DimensionIndex Source #
Constructors
| DimensionIndex_FromTo Int Int | |
| DimensionIndex_List [String] |
Instances
Constructors
| Interrupt | |
Fields | |
Instances
| Generic Interrupt Source # | |
| Show Interrupt Source # | |
| Serialize Interrupt Source # | |
| Eq Interrupt Source # | |
| Ord Interrupt Source # | |
| HasDescription Interrupt String Source # | |
Defined in Data.SVD.Lens | |
| HasName Interrupt String Source # | |
| HasValue Interrupt Int Source # | |
| HasInterrupts Peripheral [Interrupt] Source # | |
Defined in Data.SVD.Lens Methods | |
| type Rep Interrupt Source # | |
Defined in Data.SVD.Types type Rep Interrupt = D1 ('MetaData "Interrupt" "Data.SVD.Types" "data-svd-0.1.1.0-2xQ8GyPYV7lBQtHfa1MU8S" 'False) (C1 ('MetaCons "Interrupt" 'PrefixI 'True) (S1 ('MetaSel ('Just "interruptName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "interruptDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "interruptValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) | |
data Peripheral Source #
Constructors
| Peripheral | |
Fields | |
Instances
Constructors
| Register | |
Fields
| |
Instances
Constructors
| Field | |
Fields
| |