beautypg.com

Firmware – Artesyn MITX-CORE-820 Installation and Use (July 2014) User Manual

Page 117

background image

Firmware

MITX-CORE-820 Installation and Use (6806800M10H)

117

void OEM_PECI_Init(void)

{

/*--------------------------------------------------------------*/

/* Initialize the PECI module

*/

/*--------------------------------------------------------------*/

PECI_Init(PECI_CallBack, 0);

/*--------------------------------------------------------------*/

/* Configure PECI domain and client address

*/

/*--------------------------------------------------------------*/

PECI_SetDomain(PECI_DOMAIN);

PECI_SetAddress(PECI_CLIENT_ADDR);

peci_client_available = 0;

}

void OEM_PECI_Polling(void)

{

if(!(REG_READ(PECI_CTL_STS) & 0x01)) /*If PECI not busy*/

{

if(peci_client_available)

{

PECI_GetTemp();

}

else

{

PECI_Ping();

}

}

This manual is related to the following products: