Esempio 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;
}
Esempio n. 2
0
FskExport(FskErr) FskPinDigitalLinux_fskLoad(FskLibrary library)
{
    return FskExtensionInstall(kFskExtensionPinDigital, &gLinuxPinDigital);
}
Esempio n. 3
0
FskErr FskTextWindowsInitialize(void)
{
	FskExtensionInstall(kFskExtensionTextEngine, &gFskTextWindowsDispatch);
	return kFskErrNone;
}
Esempio n. 4
0
FskExport(FskErr) FskPinPWMMRAA_fskLoad(FskLibrary library)
{
	return FskExtensionInstall(kFskExtensionPinPWM, &gMRAAPWM);
}
Esempio n. 5
0
FskExport(FskErr) FskPinAnalogCreate_fskLoad(FskLibrary library)
{
	FskExtensionInstall(kFskExtensionPinAnalog, &gCreateFrontPinAnalog);
	return FskExtensionInstall(kFskExtensionPinAnalog, &gCreateBackPinAnalog);
}