21.02
|
#include <KernelDescriptors.h>
Public Member Functions | |
ThresholdKernelInfo ()=default | |
Default constructor. More... | |
ThresholdKernelInfo (uint8_t threshold, uint8_t false_value, uint8_t true_value, ThresholdType type, uint8_t upper) | |
Constructor. More... | |
Data Fields | |
uint8_t | threshold { 0 } |
uint8_t | false_value { 0 } |
uint8_t | true_value { 0 } |
ThresholdType | type { ThresholdType::BINARY } |
uint8_t | upper { 0 } |
Definition at line 213 of file KernelDescriptors.h.
|
default |
Default constructor.
|
inline |
Constructor.
[in] | threshold | Threshold. When the threshold type is RANGE, this is used as the lower threshold. |
[in] | false_value | value to set when the condition is not respected. |
[in] | true_value | value to set when the condition is respected. |
[in] | type | Thresholding type. Either RANGE or BINARY. |
[in] | upper | Upper threshold. Only used when the thresholding type is RANGE. |
Definition at line 225 of file KernelDescriptors.h.
uint8_t false_value { 0 } |
Definition at line 231 of file KernelDescriptors.h.
Referenced by CLThresholdKernel::configure(), and NEThresholdKernel::validate().
uint8_t threshold { 0 } |
Definition at line 230 of file KernelDescriptors.h.
Referenced by CLThresholdKernel::configure(), and NEThresholdKernel::validate().
uint8_t true_value { 0 } |
Definition at line 232 of file KernelDescriptors.h.
Referenced by CLThresholdKernel::configure(), and NEThresholdKernel::validate().
ThresholdType type { ThresholdType::BINARY } |
Definition at line 233 of file KernelDescriptors.h.
Referenced by CLThresholdKernel::configure(), and NEThresholdKernel::configure().
uint8_t upper { 0 } |
Definition at line 234 of file KernelDescriptors.h.
Referenced by CLThresholdKernel::configure(), and NEThresholdKernel::validate().