Download Print this page

Silicon Laboratories 4010-KFOBDEV-434 User Manual page 14

Advertisement

Si4010-DK
If we disable the C2 interface when the device is not connected to the IDE chain, and before the LED is turned off
when lit, then there will not be the GPIO4 problem. To do that the user must add the following function to the user
application to turn the LED on.
C function to turn the LED on:
/*
*------------------------------------------------------------------------------
*
*
INCLUDES:
*/
#include "si4010.h"
/*
*==============================================================================
*
*
VISIBLE FUNCTIONS:
*/
void
vLedOn
(
void
)
/*-------------------------------------------------------------
*
*
FUNCTION DESCRIPTION:
*
Turn LED on with disabling of the C2.
*
The C2 is disabled only if the part is not connected
*
to the IDE debugging chain.
*
*-------------------------------------------------------------
*/
{
/*
*-------------------------------------------------------------
*
VARIABLES:
*-------------------------------------------------------------
*/
GPIO_LED = 1;
if ( 0 != (RBIT_DATA & M_GPIO_LED_DRIVE) )
{
PROT0_CTRL |= M_C2_OFF;
}
}
14
Downloaded from
Elcodis.com
electronic components distributor
Rev. 0.1

Advertisement

loading
Need help?

Need help?

Do you have a question about the 4010-KFOBDEV-434 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Si4010 series4010-kfobdev-8684010-kfobdev-915