* @return SUCCESS means that the ADC was configured successfully and
* <code>getData()</code> can be called to start the conversion.
*/
- async command error_t configureSingle(const msp430adc12_channel_config_t *config);
+ async command error_t configureSingle(const msp430adc12_channel_config_t *ONE config);
/**
* Configures the ADC for repeated single channel conversion mode. Any
* @return SUCCESS means that the ADC was configured successfully and
* <code>getData()</code> can be called to start with the first conversion.
*/
- async command error_t configureSingleRepeat(const msp430adc12_channel_config_t *config, uint16_t jiffies);
+ async command error_t configureSingleRepeat(const msp430adc12_channel_config_t *ONE config, uint16_t jiffies);
/**
* @return SUCCESS means that the ADC was configured successfully and
* <code>getData()</code> can be called to start with the first conversion.
*/
- async command error_t configureMultiple( const msp430adc12_channel_config_t *config, uint16_t buffer[], uint16_t numSamples, uint16_t jiffies);
+ async command error_t configureMultiple( const msp430adc12_channel_config_t *ONE config, uint16_t *COUNT(numSamples) buffer, uint16_t numSamples, uint16_t jiffies);
/**
*
* @return SUCCESS means that the ADC was configured successfully and
* <code>getData()</code> can be called to start with the first conversion.
*/
- async command error_t configureMultipleRepeat(const msp430adc12_channel_config_t *config, uint16_t buffer[], uint8_t numSamples, uint16_t jiffies);
+ async command error_t configureMultipleRepeat(const msp430adc12_channel_config_t *ONE config, uint16_t *COUNT(numSamples) buffer, uint8_t numSamples, uint16_t jiffies);
/**
* <code>numSamples</code> entries. The return value is ignored if the ADC
* was configured with <code>configureMultiple()</code>.
*/
- async event uint16_t* multipleDataReady(uint16_t buffer[], uint16_t numSamples);
+ async event uint16_t * COUNT_NOK(numSamples) multipleDataReady(uint16_t *COUNT(numSamples) buffer, uint16_t numSamples);
}