MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / rmtTransmitComplete

Function rmtTransmitComplete

modules/pins/rmt/esp32/rmt.c:292–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void rmtTransmitComplete(rmt_channel_t channel, void *arg)
293{
294 modRMT rmt;
295
296 for (rmt = gRMT; NULL != rmt; rmt = rmt->next) {
297 if (rmt->channel == channel)
298 break;
299 }
300 if (!rmt)
301 return; // corrupt
302
303 modMessagePostToMachineFromISR(rmt->the, rmtWritable, rmt);
304}
305
306int receive(modRMT rmt, uint8_t *buffer, int maxBytes, int* count, int* phase){
307 size_t rx_size = 0;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected