Microchip® Advanced 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-2018 Microchip Technology Inc. and its subsidiaries.

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

Macros

Xplained Platform USART Configuration
#define CONFIG_USART_IF   (USARTD0)
 
#define CONFIG_USART_BAUDRATE   (115200)
 
#define CONFIG_USART_CHAR_LENGTH   (USART_CHSIZE_8BIT_gc)
 
#define CONFIG_USART_PARITY   (USART_PMODE_DISABLED_gc)
 
#define CONFIG_USART_STOP_BIT   (false)
 
Platform TWI and SPI Bus Configuration
#define CONFIG_TWI_MASTER_IF   (TWIC)
 
#define CONFIG_SPI_MASTER_IF   (SPIC)
 
#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   (SPIC)
#define CONFIG_SPI_OFFSET   (0)

Development and Debugging Facilities.

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

Referenced by sensor_platform_init().

#define CONFIG_USART_CHAR_LENGTH   (USART_CHSIZE_8BIT_gc)

Referenced by sensor_platform_init().

#define CONFIG_USART_IF   (USARTD0)

Referenced by sensor_platform_init().

#define CONFIG_USART_PARITY   (USART_PMODE_DISABLED_gc)

Referenced by sensor_platform_init().

#define CONFIG_USART_STOP_BIT   (false)

Referenced by sensor_platform_init().