See here for project documentation.This example demonstrates different sleep modes, performance level and power gating feature.