Recent added files made compliant with KR coding style.

pull/1243/head
vimalrajr 2015-07-03 14:52:38 +05:30 committed by Karthik Purushothaman
parent dc33d3ecaf
commit a430030639
3 changed files with 678 additions and 678 deletions

View File

@ -40,9 +40,9 @@
* \asf_license_stop
*
*/
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#ifndef RTC_COUNT_H_INCLUDED
#define RTC_COUNT_H_INCLUDED
@ -449,7 +449,7 @@ enum rtc_count_compare {
/**
* \brief Available periodic interval source.
*/
enum rtc_count_periodic_interval{
enum rtc_count_periodic_interval {
/** Periodic interval 0 */
RTC_COUNT_PERIODIC_INTERVAL_0 = 0,
/** Periodic interval 1 */

View File

@ -40,9 +40,9 @@
* \asf_license_stop
*
*/
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#include "rtc_count.h"
#include <gclk.h>
@ -330,7 +330,7 @@ enum status_code rtc_count_set_count(
}
/* Set count according to mode */
switch(module->mode){
switch(module->mode) {
case RTC_COUNT_MODE_32BIT:
/* Write value to register. */
rtc_module->MODE0.COUNT.reg = count_value;
@ -339,7 +339,7 @@ enum status_code rtc_count_set_count(
case RTC_COUNT_MODE_16BIT:
/* Check if 16-bit value is provided. */
if(count_value > 0xffff){
if(count_value > 0xffff) {
return STATUS_ERR_INVALID_ARG;
}
@ -688,7 +688,7 @@ enum status_code rtc_count_clear_compare_match(
Rtc *const rtc_module = module->hw;
/* Check sanity. */
switch (module->mode){
switch (module->mode) {
case RTC_COUNT_MODE_32BIT:
/* Check sanity for 32-bit mode. */
if (comp_index > RTC_NUM_OF_COMP32) {