#ifndef IAE_H
#define IAE_H

// <<< Use Configuration Wizard in Context Menu >>>
// <h> IPD LEVEL Configuration
// <o.0..2> I_SHORT <0=> 0.15V <1=> 0.2V <2=> 0.25V <3=> 0.3V <4=> 0.35V <5=> 0.4V <6=> 0.45V <7=> 0.5V
// <i> note : IPD Sound is proportional to voltage
// <o.6> AOCPEN <0=> Disable <1=> Enable 
// <o.7> DOCPEN <0=> Disable <1=> Enable 
// <o.4> IPD Path Select <0=> IPD Current Compare from AOCP Path <1=> IPD Current Compare from OPA Path
// </h>
#define IPD_LEVEL 0x40

// <h> IPD IAECYC Configuration
// <o.1..2> IAECYC <0=> 48MHz <1=> 24MHz <2=> 12MHz <3=> 6MHz 
// </h>
#define IAECYC 0x02

// <<< end of configuration section >>>

extern uint8 IPDPattern;

extern void IPD_Init (void);
#endif