* @brief Finds a device by its name. * * This system call searches for a device that has been registered with the system using the * specified name. If the device exists, a pointer to the device structure is returned, * allowing further interaction with the device. If no device with the specified name is found, * a `NULL` pointer is returned. * * @param[in] name The name of the device to s
| 4926 | * Passing an invalid or non-registered name will result in `NULL` being returned. |
| 4927 | */ |
| 4928 | rt_device_t sys_device_find(const char* name) |
| 4929 | { |
| 4930 | return rt_device_find(name); |
| 4931 | } |
| 4932 | |
| 4933 | /** |
| 4934 | * @brief Opens a device for use. |
nothing calls this directly
no test coverage detected