Question: Any help with ahat should be inside these functions using nordic nrf51 in C would be greatly appreciated. using C language; such as void GPIO_config(pin,dir,input,pull,drive,sense)
Create GPIO header and source files that contain functions that allow for: The purpose of these functions is as follows: Success = GPIO_write_bit (pin,value) Write an individual pin high or low Success = GPIO_write_word([pins],word, size_word) Write a word to a know size to a set of pins Success = GPIO_read_bit(pin,&value) Read whether a pin is high or low Success = GPIO_read_word([pins],&word,size_word) Read a set of pins of known size and give the word Success =GPIO_config(pin,dir,input, pull,drive,sense) Configure a single pin in GPIO mode Create GPIO header and source files that contain functions that allow for: The purpose of these functions is as follows: Success = GPIO_write_bit (pin,value) Write an individual pin high or low Success = GPIO_write_word([pins],word, size_word) Write a word to a know size to a set of pins Success = GPIO_read_bit(pin,&value) Read whether a pin is high or low Success = GPIO_read_word([pins],&word,size_word) Read a set of pins of known size and give the word Success =GPIO_config(pin,dir,input, pull,drive,sense) Configure a single pin in GPIO mode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
