代码搜索:Comp

找到约 10,000 项符合「Comp」的源代码

代码结果 10,000
www.eeworm.com/read/393024/2489647

comp timedelta.comp

component timedelta; pin out s32 out; pin out s32 err=0; pin out s32 min_=0; pin out s32 max_=0; pin out s32 jitter=0; pin out float avg_err=0; pin in bit reset; function _ nofp; variable __s64 last=0
www.eeworm.com/read/393024/2489657

comp threadtest.comp

component threadtest; pin out unsigned count; function increment nofp; function reset nofp; license "GPL"; ;; FUNCTION(increment) { count++; } FUNCTION(reset) { count=0; }
www.eeworm.com/read/393024/2489665

comp gearchange.comp

component gearchange """Select from one two speed ranges The output will be a value scaled for the selected gear, and clamped to the min/max values for that gear. The scale of gear 1 is assumed to be
www.eeworm.com/read/393024/2489666

comp lowpass.comp

component lowpass "Low-pass filter"; pin in float in; pin out float out " out += (in - out) * gain "; param rw float gain; function _; license "GPL"; ;; FUNCTION(_) { out += (in - out) * gain; }
www.eeworm.com/read/393024/2489667

comp offset.comp

// This is a component for EMC2 HAL // Copyright 2006 Jeff Epler // // This program is free software; you can redistribute it and/or modify // it under the terms of the
www.eeworm.com/read/393024/2489669

comp minmax.comp

component minmax "Track the minimum and maximum values of the input to the outputs"; pin in float in; pin in bit reset "When reset is asserted, 'in' is copied to the outputs"; pin out float max_; pin
www.eeworm.com/read/393024/2489674

comp edge.comp

// This is a component for EMC2 HAL // Copyright 2006 Jeff Epler // // This program is free software; you can redistribute it and/or modify // it under the terms of the
www.eeworm.com/read/393024/2489676

comp scale.comp

component scale; pin in float in; pin in float gain; pin in float offset; pin out float out "out = in * gain + offset"; function _; license "GPL"; ;; FUNCTION(_) { out = in * gain + offset; }
www.eeworm.com/read/393024/2489680

comp abs.comp

// This is a component for EMC2 HAL // Copyright 2006 John Kasunich // // This program is free software; you can redistribute it and/or // modify it under t
www.eeworm.com/read/393024/2489685

comp toggle.comp

component toggle "'push-on, push-off' from momentary pushbuttons"; pin in bit in "button input"; pin io bit out "on/off output"; param rw u32 debounce = 2 "debounce delay in periods"; option data togg