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