Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CanInterface = CanInterface' {
- protocolName :: Maybe Text
- protocolVersion :: Maybe Text
- name :: Text
- newCanInterface :: Text -> CanInterface
- canInterface_protocolName :: Lens' CanInterface (Maybe Text)
- canInterface_protocolVersion :: Lens' CanInterface (Maybe Text)
- canInterface_name :: Lens' CanInterface Text
Documentation
data CanInterface Source #
A single controller area network (CAN) device interface.
See: newCanInterface
smart constructor.
CanInterface' | |
|
Instances
Create a value of CanInterface
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:protocolName:CanInterface'
, canInterface_protocolName
- The name of the communication protocol for the interface.
$sel:protocolVersion:CanInterface'
, canInterface_protocolVersion
- The version of the communication protocol for the interface.
$sel:name:CanInterface'
, canInterface_name
- The unique name of the interface.
canInterface_protocolName :: Lens' CanInterface (Maybe Text) Source #
The name of the communication protocol for the interface.
canInterface_protocolVersion :: Lens' CanInterface (Maybe Text) Source #
The version of the communication protocol for the interface.
canInterface_name :: Lens' CanInterface Text Source #
The unique name of the interface.