#ifndef _PERIPHERAL_H_
#define _PERIPHERAL_H_


union peripheral_state {
	struct {
		u32 backlight_top:1,
		    backlight_bottom:1,
		    lcd_power:1,
		    amp_power:1,
		    padding:28;
	};
	u32 state;
};


void peripheral_save(void);
void peripheral_restore(void);
void peripheral_off(void);
void peripheral_sync(void);
BOOL IsLidClose();


#endif /* _PERIPHERAL_H_ */

