assert 和 deassert的意思
已有 6697 次閱讀2010-4-22 16:21
|
摘自 MAX6625 datashit:
Interrupt Mode
In interrupt mode, the MAX6625/MAX6626 look for a
THIGH or a TLOW fault based on previous fault activity.
The OT pin asserts an alarm for an undertemperature
fault, as well as for an overtemperature fault, depending
on certain conditions. If the fault queue is cleared at
power-up, the IC looks for a THIGH fault. After a THIGH
fault, the IC looks for a TLOW fault. After a TLOW fault,
the IC looks for a THIGH fault, and it bounces back and
forth if properly deasserted each time. Once either fault
has occurred, it remains active indefinitely until
deasserted by a read of any register, and the device
then begins to look for a fault of the opposite type. Also,
if the fault queue is cleared, OT is deasserted and the
IC once again looks for a THIGH fault. The activation of
any fault is subject to the depth of the fault queue.
--------------------------------------------------------
what is the meaning of 'assert'and 'deassert'?
assert: set a signal to its "active" state.-----做assert就是給設備一個使他活躍的信號。
deassert: set a signal to its "inactive state.-----做deassert就是給設備一個使他不活躍的信號。
If a signal is active-low, "asserting" that signal means
setting it low and deasserting it means setting it high.----如果一個signal是
active-low類型的,那么做assert就是給設備一個active-low的信號,就是讓設備進入low的狀態
做deassert就是讓設備進入high的狀態。
---------------------------------------------------------
總結:
assert -------讓一個設備進入活躍的狀態,deassert讓設備進入對于assert做的相反的狀態。