Go to the source code of this file.
◆ ttyUSB0Getch
#define ttyUSB0Getch |
( |
| ) |
({char c;int ret=read(fd, &c,1);c;}) |
◆ ttyUSB0Transmit
#define ttyUSB0Transmit |
( |
|
_char | ) |
|
Value: { \
int __attribute__((unused)) ret = write(
fd,&
c,1); \
}
Definition at line 14 of file serial.h.
◆ serial_init()
int serial_init |
( |
char * |
port_name | ) |
|
◆ ttyUSB0ChAvailable()
static int ttyUSB0ChAvailable |
( |
void |
| ) |
|
|
inlinestatic |
◆ fd
Definition at line 26 of file serial.c.
Referenced by _isatty_r(), adc_read(), avi_isp_get_offsets_fd(), bluegiga_transmit(), check_contiguity(), frsky_x_serial_check_free_space(), frsky_x_serial_put_buffer(), frsky_x_serial_put_byte(), frsky_x_serial_send_message(), full_read(), full_write(), gps_i2c_put_buffer(), i2c_thread(), main(), nmea_configure(), nps_ap_data_loop(), nps_ins_data_loop(), open_isp_fd(), pipe_thread(), rng_get(), sdlog_check_free_space(), sdlog_send(), sdlog_transmit(), sdlog_transmit_buffer(), sdlogger_spi_direct_periodic(), sdlogger_spi_direct_put_buffer(), send_buffer_to_uart(), serial_init(), spi0_arch_init(), spi1_arch_init(), spi_slave_hs_transmit_buffer(), spi_submit(), superbitrf_transmit_buffer(), sys_time_thread_main(), syslink_put_byte(), tunnel_event(), uart_check_free_space(), uart_put_buffer(), uart_put_byte(), uart_receive_handler(), uart_send_message(), uart_thread(), udp_thread(), v4l2_init(), v4l2_init_subdev(), virt2phys(), write_file(), and write_sysfs_int().