data-svd-0.1.0.0: SVD (System view description) file handling
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SVD.Types

Synopsis

Documentation

data AccessType Source #

Instances

Instances details
Generic AccessType Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep AccessType :: Type -> Type #

Show AccessType Source # 
Instance details

Defined in Data.SVD.Types

Serialize AccessType Source # 
Instance details

Defined in Data.SVD.Types

Eq AccessType Source # 
Instance details

Defined in Data.SVD.Types

Ord AccessType Source # 
Instance details

Defined in Data.SVD.Types

HasAccess Register AccessType Source # 
Instance details

Defined in Data.SVD.Lens

type Rep AccessType Source # 
Instance details

Defined in Data.SVD.Types

type Rep AccessType = D1 ('MetaData "AccessType" "Data.SVD.Types" "data-svd-0.1.0.0-GK8wTbmv6Pp9uqdIEHSY2I" 'False) ((C1 ('MetaCons "ReadOnly" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WriteOnly" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ReadWrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WriteOnce" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReadWriteOnce" 'PrefixI 'False) (U1 :: Type -> Type))))

data AddressBlock Source #

Instances

Instances details
Generic AddressBlock Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep AddressBlock :: Type -> Type #

Show AddressBlock Source # 
Instance details

Defined in Data.SVD.Types

Serialize AddressBlock Source # 
Instance details

Defined in Data.SVD.Types

Eq AddressBlock Source # 
Instance details

Defined in Data.SVD.Types

Ord AddressBlock Source # 
Instance details

Defined in Data.SVD.Types

HasOffset AddressBlock Int Source # 
Instance details

Defined in Data.SVD.Lens

HasSize AddressBlock Int Source # 
Instance details

Defined in Data.SVD.Lens

HasUsage AddressBlock String Source # 
Instance details

Defined in Data.SVD.Lens

HasAddressBlock Peripheral (Maybe AddressBlock) Source # 
Instance details

Defined in Data.SVD.Lens

type Rep AddressBlock Source # 
Instance details

Defined in Data.SVD.Types

type Rep AddressBlock = D1 ('MetaData "AddressBlock" "Data.SVD.Types" "data-svd-0.1.0.0-GK8wTbmv6Pp9uqdIEHSY2I" 'False) (C1 ('MetaCons "AddressBlock" 'PrefixI 'True) (S1 ('MetaSel ('Just "addressBlockOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "addressBlockSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "addressBlockUsage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))

data Cluster Source #

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).

Instances

Instances details
Generic Cluster Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Show Cluster Source # 
Instance details

Defined in Data.SVD.Types

Serialize Cluster Source # 
Instance details

Defined in Data.SVD.Types

Default Cluster Source # 
Instance details

Defined in Data.SVD.Types

Methods

def :: Cluster #

Eq Cluster Source # 
Instance details

Defined in Data.SVD.Types

Methods

(==) :: Cluster -> Cluster -> Bool #

(/=) :: Cluster -> Cluster -> Bool #

Ord Cluster Source # 
Instance details

Defined in Data.SVD.Types

HasAddressOffset Cluster Int Source # 
Instance details

Defined in Data.SVD.Lens

HasDescription Cluster String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Cluster String Source # 
Instance details

Defined in Data.SVD.Lens

HasClusters Peripheral [Cluster] Source # 
Instance details

Defined in Data.SVD.Lens

HasDimension Cluster (Maybe Dimension) Source # 
Instance details

Defined in Data.SVD.Lens

HasNested Cluster [Cluster] Source # 
Instance details

Defined in Data.SVD.Lens

HasRegisters Cluster [Register] Source # 
Instance details

Defined in Data.SVD.Lens

type Rep Cluster Source # 
Instance details

Defined in Data.SVD.Types

type Rep Cluster = D1 ('MetaData "Cluster" "Data.SVD.Types" "data-svd-0.1.0.0-GK8wTbmv6Pp9uqdIEHSY2I" 'False) (C1 ('MetaCons "Cluster" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "clusterDimension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Dimension)) :*: S1 ('MetaSel ('Just "clusterDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :*: (S1 ('MetaSel ('Just "clusterAddressOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "clusterRegisters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Register]) :*: S1 ('MetaSel ('Just "clusterNested") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Cluster])))))

data Device Source #

Instances

Instances details
Generic Device Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep Device :: Type -> Type #

Methods

from :: Device -> Rep Device x #

to :: Rep Device x -> Device #

Show Device Source # 
Instance details

Defined in Data.SVD.Types

Serialize Device Source # 
Instance details

Defined in Data.SVD.Types

Default Device Source # 
Instance details

Defined in Data.SVD.Types

Methods

def :: Device #

Eq Device Source # 
Instance details

Defined in Data.SVD.Types

Methods

(==) :: Device -> Device -> Bool #

(/=) :: Device -> Device -> Bool #

Ord Device Source # 
Instance details

Defined in Data.SVD.Types

HasAddressUnitBits Device Int Source # 
Instance details

Defined in Data.SVD.Lens

HasDescription Device String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Device String Source # 
Instance details

Defined in Data.SVD.Lens

HasResetMask Device Int Source # 
Instance details

Defined in Data.SVD.Lens

HasResetValue Device Int Source # 
Instance details

Defined in Data.SVD.Lens

HasSize Device Int Source # 
Instance details

Defined in Data.SVD.Lens

HasVersion Device String Source # 
Instance details

Defined in Data.SVD.Lens

HasWidth Device Int Source # 
Instance details

Defined in Data.SVD.Lens

HasPeripherals Device [Peripheral] Source # 
Instance details

Defined in Data.SVD.Lens

type Rep Device Source # 
Instance details

Defined in Data.SVD.Types

data Dimension Source #

Instances

Instances details
Generic Dimension Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep Dimension :: Type -> Type #

Show Dimension Source # 
Instance details

Defined in Data.SVD.Types

Serialize Dimension Source # 
Instance details

Defined in Data.SVD.Types

Eq Dimension Source # 
Instance details

Defined in Data.SVD.Types

Ord Dimension Source # 
Instance details

Defined in Data.SVD.Types

HasIncrement Dimension Int Source # 
Instance details

Defined in Data.SVD.Lens

HasIndex Dimension DimensionIndex Source # 
Instance details

Defined in Data.SVD.Lens

HasSize Dimension Int Source # 
Instance details

Defined in Data.SVD.Lens

HasDimension Cluster (Maybe Dimension) Source # 
Instance details

Defined in Data.SVD.Lens

HasDimension Field (Maybe Dimension) Source # 
Instance details

Defined in Data.SVD.Lens

HasDimension Register (Maybe Dimension) Source # 
Instance details

Defined in Data.SVD.Lens

type Rep Dimension Source # 
Instance details

Defined in Data.SVD.Types

type Rep Dimension = D1 ('MetaData "Dimension" "Data.SVD.Types" "data-svd-0.1.0.0-GK8wTbmv6Pp9uqdIEHSY2I" '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 #

Instances

Instances details
Generic DimensionIndex Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep DimensionIndex :: Type -> Type #

Show DimensionIndex Source # 
Instance details

Defined in Data.SVD.Types

Serialize DimensionIndex Source # 
Instance details

Defined in Data.SVD.Types

Eq DimensionIndex Source # 
Instance details

Defined in Data.SVD.Types

Ord DimensionIndex Source # 
Instance details

Defined in Data.SVD.Types

HasIndex Dimension DimensionIndex Source # 
Instance details

Defined in Data.SVD.Lens

type Rep DimensionIndex Source # 
Instance details

Defined in Data.SVD.Types

type Rep DimensionIndex = D1 ('MetaData "DimensionIndex" "Data.SVD.Types" "data-svd-0.1.0.0-GK8wTbmv6Pp9uqdIEHSY2I" 'False) (C1 ('MetaCons "DimensionIndex_FromTo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons "DimensionIndex_List" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])))

data Interrupt Source #

Instances

Instances details
Generic Interrupt Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep Interrupt :: Type -> Type #

Show Interrupt Source # 
Instance details

Defined in Data.SVD.Types

Serialize Interrupt Source # 
Instance details

Defined in Data.SVD.Types

Eq Interrupt Source # 
Instance details

Defined in Data.SVD.Types

Ord Interrupt Source # 
Instance details

Defined in Data.SVD.Types

HasDescription Interrupt String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Interrupt String Source # 
Instance details

Defined in Data.SVD.Lens

HasValue Interrupt Int Source # 
Instance details

Defined in Data.SVD.Lens

HasInterrupts Peripheral [Interrupt] Source # 
Instance details

Defined in Data.SVD.Lens

type Rep Interrupt Source # 
Instance details

Defined in Data.SVD.Types

type Rep Interrupt = D1 ('MetaData "Interrupt" "Data.SVD.Types" "data-svd-0.1.0.0-GK8wTbmv6Pp9uqdIEHSY2I" '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 #

Instances

Instances details
Generic Peripheral Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep Peripheral :: Type -> Type #

Show Peripheral Source # 
Instance details

Defined in Data.SVD.Types

Serialize Peripheral Source # 
Instance details

Defined in Data.SVD.Types

Default Peripheral Source # 
Instance details

Defined in Data.SVD.Types

Methods

def :: Peripheral #

Eq Peripheral Source # 
Instance details

Defined in Data.SVD.Types

Ord Peripheral Source # 
Instance details

Defined in Data.SVD.Types

HasBaseAddress Peripheral Int Source # 
Instance details

Defined in Data.SVD.Lens

HasDescription Peripheral String Source # 
Instance details

Defined in Data.SVD.Lens

HasGroupName Peripheral String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Peripheral String Source # 
Instance details

Defined in Data.SVD.Lens

HasAddressBlock Peripheral (Maybe AddressBlock) Source # 
Instance details

Defined in Data.SVD.Lens

HasClusters Peripheral [Cluster] Source # 
Instance details

Defined in Data.SVD.Lens

HasDerivedFrom Peripheral (Maybe String) Source # 
Instance details

Defined in Data.SVD.Lens

HasInterrupts Peripheral [Interrupt] Source # 
Instance details

Defined in Data.SVD.Lens

HasPeripherals Device [Peripheral] Source # 
Instance details

Defined in Data.SVD.Lens

HasRegisters Peripheral [Register] Source # 
Instance details

Defined in Data.SVD.Lens

type Rep Peripheral Source # 
Instance details

Defined in Data.SVD.Types

data Register Source #

Instances

Instances details
Generic Register Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep Register :: Type -> Type #

Methods

from :: Register -> Rep Register x #

to :: Rep Register x -> Register #

Show Register Source # 
Instance details

Defined in Data.SVD.Types

Serialize Register Source # 
Instance details

Defined in Data.SVD.Types

Default Register Source # 
Instance details

Defined in Data.SVD.Types

Methods

def :: Register #

Eq Register Source # 
Instance details

Defined in Data.SVD.Types

Ord Register Source # 
Instance details

Defined in Data.SVD.Types

HasAccess Register AccessType Source # 
Instance details

Defined in Data.SVD.Lens

HasAddressOffset Register Int Source # 
Instance details

Defined in Data.SVD.Lens

HasDescription Register String Source # 
Instance details

Defined in Data.SVD.Lens

HasDisplayName Register String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Register String Source # 
Instance details

Defined in Data.SVD.Lens

HasSize Register Int Source # 
Instance details

Defined in Data.SVD.Lens

HasDimension Register (Maybe Dimension) Source # 
Instance details

Defined in Data.SVD.Lens

HasFields Register [Field] Source # 
Instance details

Defined in Data.SVD.Lens

HasRegisters Cluster [Register] Source # 
Instance details

Defined in Data.SVD.Lens

HasRegisters Peripheral [Register] Source # 
Instance details

Defined in Data.SVD.Lens

HasResetValue Register (Maybe Int) Source # 
Instance details

Defined in Data.SVD.Lens

type Rep Register Source # 
Instance details

Defined in Data.SVD.Types

data Field Source #

Instances

Instances details
Generic Field Source # 
Instance details

Defined in Data.SVD.Types

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

Show Field Source # 
Instance details

Defined in Data.SVD.Types

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Serialize Field Source # 
Instance details

Defined in Data.SVD.Types

Methods

put :: Putter Field #

get :: Get Field #

Default Field Source # 
Instance details

Defined in Data.SVD.Types

Methods

def :: Field #

Eq Field Source # 
Instance details

Defined in Data.SVD.Types

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Ord Field Source # 
Instance details

Defined in Data.SVD.Types

Methods

compare :: Field -> Field -> Ordering #

(<) :: Field -> Field -> Bool #

(<=) :: Field -> Field -> Bool #

(>) :: Field -> Field -> Bool #

(>=) :: Field -> Field -> Bool #

max :: Field -> Field -> Field #

min :: Field -> Field -> Field #

HasBitOffset Field Int Source # 
Instance details

Defined in Data.SVD.Lens

HasBitWidth Field Int Source # 
Instance details

Defined in Data.SVD.Lens

HasDescription Field String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Field String Source # 
Instance details

Defined in Data.SVD.Lens

HasReserved Field Bool Source # 
Instance details

Defined in Data.SVD.Lens

HasDimension Field (Maybe Dimension) Source # 
Instance details

Defined in Data.SVD.Lens

HasFields Register [Field] Source # 
Instance details

Defined in Data.SVD.Lens

HasRegType Field (Maybe String) Source # 
Instance details

Defined in Data.SVD.Lens

type Rep Field Source # 
Instance details

Defined in Data.SVD.Types