
#define PAGE 0x00U
#define BOOK 0x7FU
#define SW_RESET 0x01U
#define PWR_CTL 0x02U
#define PB_CFG1 0x03U
#define TDM_CFG0 0x06U
#define TDM_CFG1 0x07U
#define TDM_CFG2 0x08U
#define TDM_CFG3 0x09U
#define TDM_CFG4 0x0AU
#define TDM_CFG5 0x0BU
#define TDM_CFG6 0x0CU
#define MISC_CFG1 0x04U
#define MISC_CFG3 0x32U
#define BOOST_CFG2 0x34U
#define BOOST_CFG4 0x40U
#define INT_MASK0 0x1AU
#define INT_LTCH0 0x24U
#define TG_CFG0  0X3FU

#define PAGE_SET0 0x00U     //! Page - 0
#define BOOK_SET 0x00U      //! Book - 0
#define SWRE_SET 0x01U      //! Reset
#define PB_CFG0_SET 0x01U   //! 8.5dB Gain
#define TDM_CFG0_SET 0x02U  //! 8 KHz, Auto TDM on, Frame Start Low to High
#define TDM_CFG1_SET 0x02U  //! Offset 1, Raising edge of SBCLK
#define TDM_CFG2_SET 0x10U  //! TDM slot by address,Word=16 bit, (L+R)/2
#define TDM_CFG3_SET 0x00U  //! Right Ch TDM slot 0, Left Ch TDM Slot 0
#define TDM_CFG4_SET 0x13U  //! TX bus keeper,Hi-Z, Offset 1, TX on Falling edge
#define TDM_CFG5_SET 0x42U  //! TDM TX voltage sense transmit enable with slot 2
#define TDM_CFG6_SET 0x40U  //! TDM TX current sense transmit enable with slot 0
#define MISC_CFG1_SET 0x26U //! If overcurrent error occurs it retry in 1.5Sec
#define MISC_IRQ_SET 0x80U  //!	Set the IRQZ pin is low.
#define PWR_CTL_SET 0x0DU   //!	Mute the device.
#define PWR_CTL_RESET 0x0CU //! Active the device.
#define INT_MASK0_SET 0x00U //! Don't mask
#define BOOST_CFG2_SET 0x0DU
#define BOOST_CFG4_SET 0x37U //! Boost peak current limit set to 1.1A
#define TG_CFG0_SET 0x40   //Tone Generator Enabled
#define TG_CFG0_RESET 0x00   //Tone Generator Disabled