from pathlib import Path
from typing import Final, Iterable
# LBA (Logical Block Address) 관련
[docs]
SSD_START_LBA: Final[int] = 0
[docs]
SSD_END_LBA: Final[int] = 99
[docs]
SSD_SIZE: Final[int] = SSD_END_LBA - SSD_START_LBA + 1
[docs]
SSD_LBA_RANGE: Final[Iterable[int]] = range(SSD_START_LBA, SSD_END_LBA + 1)
# SSD Value 관련
[docs]
SSD_MIN_VALUE: Final[int] = 0x00000000
[docs]
SSD_MAX_VALUE: Final[int] = 0xFFFFFFFF
[docs]
INVALID_COMMAND = "INVALID COMMAND"
[docs]
PROJECT_ROOT = Path(__file__).parent.resolve()
[docs]
SCRIPTS_DIRECTORY = PROJECT_ROOT / 'scripts'
# LOGGER MAX BLOCK