Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

void Port_AnalogOrDigital (uint8_t port_index, uint8_t pins_mask, AnalogOrDigital pins_type) #27

Open
salma97 opened this issue May 2, 2019 · 0 comments
Assignees

Comments

@salma97
Copy link
Owner

salma97 commented May 2, 2019

if pins_type == 1 --> set DEN, reset AMSEL
if pins_type == 0 --> set AMSEL, reset DEN

set CR using pins_mask

@salma97 salma97 changed the title void Port_AMSEL (uint8_t port_index, uint8_t pins_mask, uint8_t enable) void Port_AnalogOrDigital (uint8_t port_index, uint8_t pins_mask, AnalogOrDigital pins_type) May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants