Added access property to Target
This commit is contained in:
@@ -411,6 +411,7 @@ class TargetDescriptionFile
|
|||||||
$register->size,
|
$register->size,
|
||||||
$register->initialValue,
|
$register->initialValue,
|
||||||
$register->description,
|
$register->description,
|
||||||
|
$register->access,
|
||||||
array_map(
|
array_map(
|
||||||
fn (BitField $bitField): TargetRegisterBitField => $this->targetRegisterBitFieldFromBitField($bitField),
|
fn (BitField $bitField): TargetRegisterBitField => $this->targetRegisterBitFieldFromBitField($bitField),
|
||||||
$register->bitFields
|
$register->bitFields
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ class TargetRegister
|
|||||||
public ?int $size = null;
|
public ?int $size = null;
|
||||||
public ?int $initialValue = null;
|
public ?int $initialValue = null;
|
||||||
public ?string $description = null;
|
public ?string $description = null;
|
||||||
|
public ?string $access = null;
|
||||||
|
|
||||||
/** @var TargetRegisterBitField[] */
|
/** @var TargetRegisterBitField[] */
|
||||||
public array $bitFields;
|
public array $bitFields;
|
||||||
@@ -36,6 +37,7 @@ class TargetRegister
|
|||||||
?int $size,
|
?int $size,
|
||||||
?int $initialValue,
|
?int $initialValue,
|
||||||
?string $description,
|
?string $description,
|
||||||
|
?string $access,
|
||||||
array $bitFields
|
array $bitFields
|
||||||
) {
|
) {
|
||||||
$this->key = $key;
|
$this->key = $key;
|
||||||
@@ -45,6 +47,7 @@ class TargetRegister
|
|||||||
$this->size = $size;
|
$this->size = $size;
|
||||||
$this->initialValue = $initialValue;
|
$this->initialValue = $initialValue;
|
||||||
$this->description = $description;
|
$this->description = $description;
|
||||||
|
$this->access = $access;
|
||||||
$this->bitFields = $bitFields;
|
$this->bitFields = $bitFields;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user