Atmel Software Framework

conf_sensors.h File Reference

Atmel Common Sensor Service configuration parameters.

This file defines tunable configuration constants for user selected API features and functions.

Copyright (c) 2011-2015 Atmel Corporation. All rights reserved.

#include <board.h>
#include <sysclk.h>

Macros

Xplained Platform USART Configuration
#define CONFIG_USART_IF   (USARTC0)
 
#define CONFIG_USART_BAUDRATE   (115200)
 
#define CONFIG_USART_CHAR_LENGTH   (8)
 
#define CONFIG_USART_PARITY   (USART_NO_PARITY)
 
#define CONFIG_USART_STOP_BIT   (USART_1_STOPBIT)
 
Platform TWI and SPI Bus Configuration
#define CONFIG_TWI_MASTER_IF   (TWIF)
 
#define CONFIG_SPI_MASTER_IF   (SPIF)
 
#define CONFIG_TWI_BAUDRATE   (400000)
 
#define CONFIG_TWI_OFFSET   (0)
 
#define CONFIG_SPI_BAUDRATE   (12000000)
 
#define CONFIG_SPI_OFFSET   (0)
 Development and Debugging Facilities. More...
 

#define CONFIG_SPI_BAUDRATE   (12000000)
#define CONFIG_SPI_MASTER_IF   (SPIF)
#define CONFIG_SPI_OFFSET   (0)

Development and Debugging Facilities.

#define CONFIG_TWI_BAUDRATE   (400000)
#define CONFIG_TWI_MASTER_IF   (TWIF)
#define CONFIG_TWI_OFFSET   (0)
#define CONFIG_USART_BAUDRATE   (115200)

Referenced by sensor_platform_init().

#define CONFIG_USART_CHAR_LENGTH   (8)

Referenced by sensor_platform_init().

#define CONFIG_USART_IF   (USARTC0)

Referenced by sensor_platform_init().

#define CONFIG_USART_PARITY   (USART_NO_PARITY)

Referenced by sensor_platform_init().

#define CONFIG_USART_STOP_BIT   (USART_1_STOPBIT)

Referenced by sensor_platform_init().