Other Parts Discussed in Thread: CC3220S
Hi,
void PRCMCC3200MCUInit()
{
if( PRCMSysResetCauseGet() != PRCM_LPDS_EXIT )
...
else
{
unsigned long ulRegVal;
//
// I2C Configuration
//
ulRegVal = HWREG(COMMON_REG_BASE + COMMON_REG_O_I2C_Properties_Register);
ulRegVal = (ulRegVal & ~0x3) | 0x1;
HWREG(COMMON_REG_BASE + COMMON_REG_O_I2C_Properties_Register) = ulRegVal;
//
// GPIO configuration
//
ulRegVal = HWREG(COMMON_REG_BASE + COMMON_REG_O_GPIO_properties_register);
ulRegVal = (ulRegVal & ~0x3FF) | 0x155;
HWREG(COMMON_REG_BASE + COMMON_REG_O_GPIO_properties_register) = ulRegVal;
}
in this code I find the definition in hw_memmap.h #define COMMON_REG_BASE 0x400F7000, and then I find the address 0x400F7000 is Configuration registers in swru465.pdf(Technical Reference Manual), but I do not find the Configuration registers detail information in this document.
The detail information like the picture below: