Created two structs for the digital input and output configurations.