Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

ADC support? #413

Open
bluecube opened this issue Jun 6, 2017 · 1 comment
Open

ADC support? #413

bluecube opened this issue Jun 6, 2017 · 1 comment

Comments

@bluecube
Copy link

bluecube commented Jun 6, 2017

I was looking through the repository and couldn't find any mentions about other peripherials on the MCU, specifically ADC. Is it possible to use these now? If not, how hard would it be to add it and where should I start?

@jamwaffles
Copy link
Contributor

I added SPI to the Tiva C which wasn't too tricky. That PR might be useful as an example. Zinc doesn't have complete support for all peripherals yet, hence the various PRs about adding them. You may want to do what I did and copy a similar looking config from another peripheral that is supported by Zinc on your platform, then modify the init routines, names and stuff to work with whatever peripheral you're targeting. The datasheet will tell you how to initialise things properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants