Part 1
요약·해설
IBBR, VSBY, VCC, size와 bbram_read/write 조건을 설명합니다.
State
IBBR · VSBY · VCC
Access
read · write · bounds
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
5250213028BA8DE176329409CBE2BE54635C7B9733657DE68CE6A81C15447A74
.. _bbram_api:
Battery Backed RAM (BBRAM)
##########################
The BBRAM APIs allow interfacing with the unique properties of this memory region. The following
common types of BBRAM properties are easily accessed via this API:
- IBBR (invalid) state - check that the BBRAM is not corrupt.
- VSBY (voltage standby) state - check if the BBRAM is using standby voltage.
- VCC (active power) state - check if the BBRAM is on normal power.
- Size - get the size (in bytes) of the BBRAM region.
Along with these, the API provides a means for reading and writing to the memory region via
:c:func:`bbram_read` and :c:func:`bbram_write` respectively. Both functions are expected to only
succeed if the BBRAM is in a valid state and the operation is bounded to the memory region.
API Reference
*************
.. doxygengroup:: bbram_interface
Part 3
한국어 전문 번역
BBRAM API를 사용하면 이 memory region의 고유 속성을 다룰 수 있습니다. 다음과 같은 일반적인 BBRAM 속성에 쉽게 접근합니다.
- IBBR(invalid) 상태: BBRAM이 손상되지 않았는지 확인합니다.
- VSBY(voltage standby) 상태: BBRAM이 standby voltage를 사용하는지 확인합니다.
- VCC(active power) 상태: BBRAM이 normal power로 동작하는지 확인합니다.
- Size: BBRAM region의 byte 단위 크기를 가져옵니다.
bbram_read()와 bbram_write()로 memory region을 각각 읽고 쓸 수도 있습니다. 두 함수는 BBRAM이 valid 상태이고 operation이 region 경계를 벗어나지 않을 때만 성공해야 합니다.
API reference
bbram_interface Doxygen group이 Battery Backed RAM interface의 공식 API reference를 제공합니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.