# Atmel EDBG-based Tools Protocols
Events

Sidebar | Prev | Up | Next

#### Event: sleep

Indicates target sleep status. Note: This value is polled from the target at a fixed frequency. Entering and exiting SLEEP states rapidly will not generate the same number of event messages as the actual state transitions.

Table 67. SLEEP event format

Field | Size | Description
--- | --- | ---
EVT_HOUSEKEEPING_SLEEP | 1 byte | Event ID
Version (0x00) | 1 byte | Event version
State | 1 byte | 0x00 = Target is now AWAKE 0x01 = Target is now ASLEEP

Prev | Up | Next
| Home |