Ejemplo n.º 1
0
FskExport(FskErr) FskPinDigitalMRAA_fskLoad(FskLibrary library)
{
	mraa_result_t result;

	result = mraa_init();
	if ((result == MRAA_SUCCESS) || (result == MRAA_ERROR_PLATFORM_ALREADY_INITIALISED))
		return FskExtensionInstall(kFskExtensionPinDigital, &gMRAAPinDigital);
	else
		return kFskErrOperationFailed;
}
Ejemplo n.º 2
0
FskExport(FskErr) FskPinDigitalLinux_fskLoad(FskLibrary library)
{
    return FskExtensionInstall(kFskExtensionPinDigital, &gLinuxPinDigital);
}
Ejemplo n.º 3
0
FskErr FskTextWindowsInitialize(void)
{
	FskExtensionInstall(kFskExtensionTextEngine, &gFskTextWindowsDispatch);
	return kFskErrNone;
}
Ejemplo n.º 4
0
FskExport(FskErr) FskPinPWMMRAA_fskLoad(FskLibrary library)
{
	return FskExtensionInstall(kFskExtensionPinPWM, &gMRAAPWM);
}
Ejemplo n.º 5
0
FskExport(FskErr) FskPinAnalogCreate_fskLoad(FskLibrary library)
{
	FskExtensionInstall(kFskExtensionPinAnalog, &gCreateFrontPinAnalog);
	return FskExtensionInstall(kFskExtensionPinAnalog, &gCreateBackPinAnalog);
}