Back
[03:26:13] <z64555> maybe make a hardware clock outside.. oh. you used up all your I/O
[03:26:17] <z64555> welp
[11:32:12] <rue_bed> anonnumberanon, how many nops does it need? 6? 10?
[11:32:19] <rue_bed> macro...
[11:32:59] <rue_bed> #define nopx6() if(1){ NOP(); NOP(); ....
[12:12:36] <rue_house> !bookmark the PT4101 datasheet has an app note for dynamically varrying the current of a current mode smps controller
[15:47:06] <anonnumberanon> rue_house, yeah but that macro won't let me call it functionally, meaning with a function a certain amount of times, even though I have the macro to NOP for 1 microsecond I can't call it for say 200 microseconds, as in NOP_Delay(200)
[15:47:45] <anonnumberanon> because either calling that macro in a function or even within a while(200) loop adds a lot of time before the delay even begins.
[15:51:42] <anonnumberanon> unless maybe i make the function "static" and in that case it could take less time to service, but I haven't used static much, I just know doing it with an array made array access faster
[15:55:54] <rue_house> even under linux, small delays are done with rolled out loops