Home | History | Annotate | Download | only in stm32_flash

Lines Matching defs:tio

85     struct termios tio;
106 if (tcgetattr(uart_handle->fd, &tio))
107 memset(&tio, 0, sizeof(tio));
109 tio.c_cflag = CS8 | CLOCAL | CREAD | PARENB;
110 cfsetospeed(&tio, B57600);
111 cfsetispeed(&tio, B57600);
112 tio.c_iflag = 0; /* turn off IGNPAR */
113 tio.c_oflag = 0; /* turn off OPOST */
114 tio.c_lflag = 0; /* turn off CANON, ECHO*, etc */
115 tio.c_cc[VTIME] = 5;
116 tio.c_cc[VMIN] = 0;
118 tcsetattr(uart_handle->fd, TCSANOW, &tio);