Open
Conversation
Contributor
|
o código faz uso do dac e do uart e vc nào explica para que serve |
Contributor
|
que pinos ele compara? o exemplo não é funcional |
Contributor
|
quais pinos do uC estão disponíveis para o ACC? e como eu mapeio eles para o canal? |
Contributor
|
faltou o diagrama de blocos explicativo como pedido https://github.com/Insper/SAME70-examples/raw/master/Perifericos-uC/AFEC-Pin/doc/Diagrama_AFEC-Pin.svg |
Contributor
|
o código exemplo é praticamente o fornecido, mas sem os comentários.. vc deveria se inspirar e criar outro.. |
Contributor
|
eu tenho a impressão que vc não rodou o código e não fez funcionar, consegue me provar o contrário? |
rafaelcorsi
requested changes
Jun 7, 2022
| Configura o comparador analógico e gera uma interrupção dependendo nas configurações do usuário. | ||
|
|
||
| ## Conexão e configuração | ||
| - Não é necessária |
Contributor
There was a problem hiding this comment.
como não? Ele lê o valor analógico da onde?
| init(); | ||
|
|
||
| /* Iniciando a entrada DAC0 em ADVREF/2 */ | ||
| dacc_write_conversion_data(DACC, MAX_DIGITAL / 2, DACC_CHANNEL_0); |
Contributor
There was a problem hiding this comment.
para que serve esse dac, vc não explicou.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proponho a explicação e entendimento do periférico ACC, juntamento de um código exemplo que permite que o usuário consiga controlar o comparador análogico.