Go to the source code of this file.
#define ttyUSB0Getch |
( |
| ) |
({char c;int ret=read(fd, &c,1);c;}) |
#define ttyUSB0Transmit |
( |
|
_char | ) |
|
Value:{ \
char c = _char; \
int __attribute__((unused)) ret = write(
fd,&c,1); \
}
Definition at line 14 of file serial.h.
int serial_init |
( |
char * |
port_name | ) |
|
static int ttyUSB0ChAvailable |
( |
void |
| ) |
|
|
inlinestatic |
Definition at line 26 of file serial.c.
Referenced by adc_read(), bluegiga_transmit(), check_contiguity(), i2c_thread(), main(), nmea_configure(), nps_ap_data_loop(), nps_ins_data_loop(), pipe_thread(), rng_get(), sdlogger_spi_direct_periodic(), send_buffer_to_uart(), serial_init(), spi0_arch_init(), spi1_arch_init(), spi_submit(), sys_time_thread_main(), tunnel_event(), uart_receive_handler(), uart_thread(), udp_thread(), v4l2_init(), v4l2_init_subdev(), write_file(), and write_sysfs_int().