FLIPFLOP(9)
β¨ FLIPFLOP β¨
okay bestie, come sit with me because we're talking about flipflop, a HAL Component from section 9 of the manual π and honestly? she's tiny but she's everything.
πΈ NAME πΈ
flipflop β a D type flip-flop π like, one bit of memory that remembers stuff when you tell it to. main character behaviour, no cap.
π SYNOPSIS π
loadrt flipflop [count=N|names=name1[,name2...]]
that's the whole vibe bestie. you loadrt it and you either say how many you want with count=N or you name your babies with names=name1[,name2...]. pick your fighter π«Ά
β FUNCTIONS β
flipflop.Nβ the function, per instance, and yeah she runs.
π¦ PINS π¦
okay this is the part where you actually meet her pins (not like that π). every instance gets its own lil flipflop.N. prefix, so instance 0 is flipflop.0.whatever, instance 1 is flipflop.1.whatever, you get it π
flipflop.N.data(bit, in) β the data input bestie. this is the bit she's gonna hold onto. πflipflop.N.clk(bit, in) β the clock, and the way that she only writes thedataintoouton a rising edge?? iconic. no rising edge, no write. periodt β¨flipflop.N.set(bit, in) β when this is true she forcesouttrue. she said "we're doing true today" πflipflop.N.reset(bit, in) β when this is true she forcesoutfalse, and lowkey the important part is thatresetoverridesset. so if both are screaming at her at once, reset wins. that's just the rules πflipflop.N.out(bit, io) β the output. the bit she's been holding this whole time. πflipflop.N.out-not(bit, io) β the inverted output, akaoutbut make it β¨ opposite β¨. whenoutis chill,out-notis not, iykyk π
π AUTHOR π
John Kasunich wrote her. respect the icon π«‘
π LICENSE π
GPL β free and open, as she should be π
and that's the whole page bestie, fr fr no cap, from the LinuxCNC Documentation, version dated 2026-03-17, page FLIPFLOP(9) π go forth and latch, you're gonna slay π¦πβ¨
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms