Lines Matching defs:token
337 char *token = strtok (tmp_config, ",");
338 serial_config.device_id = token ? token : "/dev/ttyS0";
339 serial_config.baud_rate = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 115200;
340 serial_config.data_bits = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 8;
341 serial_config.parity = (token = strtok (NULL, ",")) ? token[0] : 'N';
342 serial_config.stop_bits = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 1;