Repository navigation
v2.0.0 Upgrade release
Changes:
General:
_ Verifies the input pin port to be valid from GPIOC and on (previous version verified from GPIOE and on), due to the fact that at the moment the STM32 mcu with smaller ports quantity have two ports (usually defined as GPIOA and GPIOB).
_ Volatile type qualifier added to attributes that can be modified by setters and by software timer update service.
_ Return values for many attribute setters changed from boolean to void. The only ones that keep a boolean return value are those which need value validation, in wich case will return true if the value passed as parameter is valid, or false if the parameter was out of range of valid values.
_ isOn2 renamed to isOnScndry, and declaration moved up to DblActnLtchMPBttn class to make it available for all subclasses.
_ The isOn2 (now isOnScndry) attribute direct value asignation was refactored into turnOffScndry() and trnOnScndry() methods to set the bases for complete implementation of related actions to the attribute flag value change.
_ All the trnOn() and trnOff() facilities added to the turnOffScndry() and trnOnScndry(), including a taskHandle management to resume/suspend a task while isOnScndry = true, a function pointer to a function to be executed when isOnScndry changes values.
_ getFrcOtptLvldWhnVdd(), getStOnWhnOtpFrcd(), setFrcdOtptWhnVdd(), setStOnWhnOtpFrcd() methods added to VdblMPBttn to configure the isOn attribute flag behavior when the objects enter the voided state. These won't be used at this point as the only subclass developed -TmVdblMPBttn- requires a fixed setup for both frcOtptLvlWhnVdd and stOnWhnOtptFrcd attribute flags.