rt_hwtimerval_t receive_time;/*judeg infrared channel is recving*/ if(receive_flag & (1 <<...
Add descriptions for rt_mq_recv and rt_sem_take timeout parameters fix parameter name enable RT_DEBUG_DEVICE by default and move weak rt_hw_dealy_us in kservice.c Updated the Cortex-A of linker scripts for the new version of GCC, Removed C++ global constructor initialization, this method ...
[errFlag,receivedData,receivedDataSize] = rtiostream_wrapper(sharedLib,'recv',streamID,dataSize)receives workspace variable data from the open communication channel or stream. streamID= rtiostream_wrapper(___,Name,Value)specifies additional options using one or more name-value pair arguments. These ...
@@ -3626,6 +3632,8 @@ static rt_ssize_t _rt_mq_recv(rt_mq_t mq, rt_err_t ret; rt_size_t len; RT_UNUSED(prio); /* parameter check */ RT_ASSERT(mq != RT_NULL); RT_ASSERT(rt_object_get_type(&mq->parent.parent) == RT_Object_Class_MessageQueue); @@ -3839,6 +3847,...
assembling the data received from 4 I2S channels into 4 buffers into the sending buffer, this time test is on the second channel of the oscilloscope, and the results are as follows: Figure 11 copy data time It can be seen that the copying time is less than 500us, which is much shorte...
The test results are as follows: Figure 9 ch1 10ms duration Channel 1 is the exact 10ms because of the callback reversal received. Here is a general picture of the test: Figure 10 Time test overview Ch1: I2S5 callback entry frequency Ch2: memory copy time Ch3: Send ...
{if(rt_mb_recv( _tx_thread_mb, (rt_uint32_t*)&msg, RT_WAITING_FOREVER) == RT_EOK) {structeth_device*enetif;RT_ASSERT(msg->netif != RT_NULL); RT_ASSERT(msg->buf != RT_NULL); enetif = (struct eth_device*)msg->netif->state;if(enetif != RT_NULL) ...
rt_spi_send_then_recv( spi_sx1278_device.rt_spi_device, &Sdata, (rt_size_t)1, Rdata, (rt_size_t)1); // rt_spi_send(spi_sx1278_device.rt_spi_device, &Sdata, 1); return Rdata[0]; } int rt_hw_spi2_config(const char * spi_device_name) // 这里填的就是"spi20"为参数...
regarding Warning "scheduling while atomic" in intel_thermal driver with Linux 6.9+ and RT to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the ...
rt_err_t rt_adc_disable(rt_adc_device_t dev, rt_uint32_t channel); 1.3.6 WDT 1.3.6.1 用户态程序使用WDT 打开设备节点 open(WDT_DEVICE_NAME, O_RDWR); 设置超时时间 ioctl(wdt_fd, CTRL_WDT_SET_TIMEOUT, &timeout); 启动看门狗计时 ioctl(wdt_fd, CTRL_WDT_START, NULL); 喂狗 ...