MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / _setup_serial

Function _setup_serial

components/drivers/serial/serial_tty.c:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131rt_inline void _setup_serial(struct rt_serial_device* serial, lwp_tty_t tp,
132 struct serial_tty_context *softc)
133{
134 rt_bypass_lower_register(serial, "tty", RT_BYPASS_PROTECT_LEVEL_1, _serial_ty_bypass, (void *)tp);
135}
136
137rt_inline void _restore_serial(struct rt_serial_device *serial, lwp_tty_t tp,
138 struct serial_tty_context *softc)

Callers 1

serial_tty_openFunction · 0.85

Calls 1

rt_bypass_lower_registerFunction · 0.85

Tested by

no test coverage detected