Started work on separate PIO driver functions