Added bit and digital IO APIs.