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

Data.SVD.Lens

Documentation

class HasAddressUnitBits s a | s -> a where Source #

Instances

Instances details
HasAddressUnitBits Device Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasDescription s a | s -> a where Source #

Methods

description :: Lens' s a Source #

class HasName s a | s -> a where Source #

Methods

name :: Lens' s a Source #

Instances

Instances details
HasName Cluster String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Device String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Field String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Interrupt String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Peripheral String Source # 
Instance details

Defined in Data.SVD.Lens

HasName Register String Source # 
Instance details

Defined in Data.SVD.Lens

class HasPeripherals s a | s -> a where Source #

Methods

peripherals :: Lens' s a Source #

Instances

Instances details
HasPeripherals Device [Peripheral] Source # 
Instance details

Defined in Data.SVD.Lens

class HasResetMask s a | s -> a where Source #

Methods

resetMask :: Lens' s a Source #

Instances

Instances details
HasResetMask Device Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasResetValue s a | s -> a where Source #

Methods

resetValue :: Lens' s a Source #

Instances

Instances details
HasResetValue Device Int Source # 
Instance details

Defined in Data.SVD.Lens

HasResetValue Register (Maybe Int) Source # 
Instance details

Defined in Data.SVD.Lens

class HasSize s a | s -> a where Source #

Methods

size :: Lens' s a Source #

Instances

Instances details
HasSize AddressBlock Int Source # 
Instance details

Defined in Data.SVD.Lens

HasSize Device Int Source # 
Instance details

Defined in Data.SVD.Lens

HasSize Dimension Int Source # 
Instance details

Defined in Data.SVD.Lens

HasSize Register Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasVersion s a | s -> a where Source #

Methods

version :: Lens' s a Source #

Instances

Instances details
HasVersion Device String Source # 
Instance details

Defined in Data.SVD.Lens

class HasWidth s a | s -> a where Source #

Methods

width :: Lens' s a Source #

Instances

Instances details
HasWidth Device Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasAddressBlock s a | s -> a where Source #

Methods

addressBlock :: Lens' s a Source #

Instances

Instances details
HasAddressBlock Peripheral (Maybe AddressBlock) Source # 
Instance details

Defined in Data.SVD.Lens

class HasBaseAddress s a | s -> a where Source #

Methods

baseAddress :: Lens' s a Source #

Instances

Instances details
HasBaseAddress Peripheral Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasClusters s a | s -> a where Source #

Methods

clusters :: Lens' s a Source #

Instances

Instances details
HasClusters Peripheral [Cluster] Source # 
Instance details

Defined in Data.SVD.Lens

class HasDerivedFrom s a | s -> a where Source #

Methods

derivedFrom :: Lens' s a Source #

Instances

Instances details
HasDerivedFrom Peripheral (Maybe String) Source # 
Instance details

Defined in Data.SVD.Lens

class HasGroupName s a | s -> a where Source #

Methods

groupName :: Lens' s a Source #

Instances

Instances details
HasGroupName Peripheral String Source # 
Instance details

Defined in Data.SVD.Lens

class HasInterrupts s a | s -> a where Source #

Methods

interrupts :: Lens' s a Source #

Instances

Instances details
HasInterrupts Peripheral [Interrupt] Source # 
Instance details

Defined in Data.SVD.Lens

class HasRegisters s a | s -> a where Source #

Methods

registers :: Lens' s a Source #

Instances

Instances details
HasRegisters Cluster [Register] Source # 
Instance details

Defined in Data.SVD.Lens

HasRegisters Peripheral [Register] Source # 
Instance details

Defined in Data.SVD.Lens

class HasAccess s a | s -> a where Source #

Methods

access :: Lens' s a Source #

Instances

Instances details
HasAccess Register AccessType Source # 
Instance details

Defined in Data.SVD.Lens

class HasAddressOffset s a | s -> a where Source #

Methods

addressOffset :: Lens' s a Source #

Instances

Instances details
HasAddressOffset Cluster Int Source # 
Instance details

Defined in Data.SVD.Lens

HasAddressOffset Register Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasDimension s a | s -> a where Source #

Methods

dimension :: Lens' s a Source #

Instances

Instances details
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

class HasDisplayName s a | s -> a where Source #

Methods

displayName :: Lens' s a Source #

Instances

Instances details
HasDisplayName Register String Source # 
Instance details

Defined in Data.SVD.Lens

class HasFields s a | s -> a where Source #

Methods

fields :: Lens' s a Source #

Instances

Instances details
HasFields Register [Field] Source # 
Instance details

Defined in Data.SVD.Lens

class HasBitOffset s a | s -> a where Source #

Methods

bitOffset :: Lens' s a Source #

Instances

Instances details
HasBitOffset Field Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasBitWidth s a | s -> a where Source #

Methods

bitWidth :: Lens' s a Source #

Instances

Instances details
HasBitWidth Field Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasRegType s a | s -> a where Source #

Methods

regType :: Lens' s a Source #

Instances

Instances details
HasRegType Field (Maybe String) Source # 
Instance details

Defined in Data.SVD.Lens

class HasReserved s a | s -> a where Source #

Methods

reserved :: Lens' s a Source #

Instances

Instances details
HasReserved Field Bool Source # 
Instance details

Defined in Data.SVD.Lens

class HasNested s a | s -> a where Source #

Methods

nested :: Lens' s a Source #

Instances

Instances details
HasNested Cluster [Cluster] Source # 
Instance details

Defined in Data.SVD.Lens

class HasIncrement s a | s -> a where Source #

Methods

increment :: Lens' s a Source #

Instances

Instances details
HasIncrement Dimension Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasIndex s a | s -> a where Source #

Methods

index :: Lens' s a Source #

Instances

Instances details
HasIndex Dimension DimensionIndex Source # 
Instance details

Defined in Data.SVD.Lens

class HasValue s a | s -> a where Source #

Methods

value :: Lens' s a Source #

Instances

Instances details
HasValue Interrupt Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasOffset s a | s -> a where Source #

Methods

offset :: Lens' s a Source #

Instances

Instances details
HasOffset AddressBlock Int Source # 
Instance details

Defined in Data.SVD.Lens

class HasUsage s a | s -> a where Source #

Methods

usage :: Lens' s a Source #

Instances

Instances details
HasUsage AddressBlock String Source # 
Instance details

Defined in Data.SVD.Lens