Searched refs:tgpio_dev (Results 1 – 1 of 1) sorted by relevance
29 const struct device *tgpio_dev; in main() local34 tgpio_dev = DEVICE_DT_GET(TGPIO_LABEL); in main()35 if (!device_is_ready(tgpio_dev)) { in main()42 tgpio_port_get_time(tgpio_dev, &tm); in main()45 tgpio_port_get_cycles_per_second(tgpio_dev, &cycles); in main()52 ret = tgpio_pin_periodic_output(tgpio_dev, TGPIO_PIN_OUT, in main()60 ret = tgpio_pin_config_ext_timestamp(tgpio_dev, TGPIO_PIN_IN, 0); in main()68 tgpio_pin_read_ts_ec(tgpio_dev, TGPIO_PIN_IN, &ts, &ec); in main()