Lines Matching full:emulator
13 * @defgroup io_emulators Emulator interface
62 * Standard callback for emulator initialisation providing the initialiser
63 * record and the device that calls the emulator functions.
65 * @param emul Emulator to init
66 * @param parent Parent device that is using the emulator
71 * Emulator API stub when an emulator is not actually placed on a bus.
78 /** An emulator instance - represents the *target* emulated device/peripheral that is
83 /** function used to initialise the emulator state */
87 /** Emulator-specific configuration data */
89 /** Emulator-specific data */
91 /** The bus type that the emulator is attached to */
102 /** Address of the API structure exposed by the emulator instance */
129 * @brief Define a new emulator
132 * typically used in your emulator's DT_INST_FOREACH_STATUS_OKAY() clause.
136 * @param init_fn function to call to initialise the emulator (see emul_init typedef)
137 * @param data_ptr emulator-specific data
138 * @param cfg_ptr emulator-specific configuration data
139 * @param bus_api emulator-specific bus api
140 * @param _backend_api emulator-specific backend api
175 * @details Returns a pointer to an emulator object created from a devicetree
176 * node, if any device was allocated by an emulator implementation.
180 * that is what happened. Check to make sure your emulator implementation is
189 * @brief Utility macro to obtain an optional reference to an emulator
210 * @brief Retrieve the emul structure for an emulator by name
212 * @details Emulator objects are created via the EMUL_DT_DEFINE() macro and placed in memory by the
213 * linker. If the emulator structure is needed for custom API calls, it can be retrieved by the name
214 * that the emulator exposes to the system (this is the devicetree node's label by default).
216 * @param name Emulator name to search for. A null pointer, or a pointer to an
219 * @return pointer to emulator structure; NULL if not found or cannot be used.