summaryrefslogtreecommitdiffstats
path: root/include/app.h
diff options
context:
space:
mode:
authorDave Hodder <dave.hodder@focusrite.com>2017-01-09 14:30:20 +0000
committerDave Hodder <dave.hodder@focusrite.com>2017-01-09 14:30:20 +0000
commit59d4f28fe214601d323b2e0fb8a272040ba02a37 (patch)
tree357ea0d743432d88e20f24168e8c2da6f1bfd7fe /include/app.h
parent50778f7bbb9ba2135df5e699521a61a83dcddbc6 (diff)
downloadlaunchpad-polymaker-59d4f28fe214601d323b2e0fb8a272040ba02a37.tar.gz
launchpad-polymaker-59d4f28fe214601d323b2e0fb8a272040ba02a37.zip
tidying up ADC api
Diffstat (limited to 'include/app.h')
-rw-r--r--include/app.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/app.h b/include/app.h
index 83ef48a..96801eb 100644
--- a/include/app.h
+++ b/include/app.h
@@ -133,6 +133,11 @@ void hal_write_flash(u32 offset,const u8 *data, u32 length);
133 133
134/** 134/**
135 * Called on startup, this is a good place to do any initialisation. 135 * Called on startup, this is a good place to do any initialisation.
136 *
137 * @param adc_buffer - this is a pointer to the raw ADC frame buffer. The
138 * data is 12 bit unsigned. Note the indexing is strange -
139 * translate ADC indices to LED/button indices using the
140 * ADC_MAP table declared in app_defs.h.
136 */ 141 */
137void app_init(const u16 *adc_buffer); 142void app_init(const u16 *adc_buffer);
138 143