Contiki 3.x
Macros
config-board.h File Reference

    Board configuration defines for Mulle platform.
More...

#include "adc.h"

Go to the source code of this file.

Macros

#define DISABLE_WDOG   1
 Disable hardware watchdog, for debugging purposes, don't use this on production builds. More...
 
#define K60_CPU_REV   2
 CPU silicon revision (some registers are moved or added between revisions 1 and 2)
 
#define MULLE_ADC_VREFH_MILLIVOLTS   3300u
 Voltage reference high for ADC computations (millivolts).
 
#define MULLE_ADC_VREFL_MILLIVOLTS   0u
 Voltage reference low for ADC computations (millivolts).
 
#define MULLE_ADC_VREFHL_SCALE_MILLIVOLTS   ((MULLE_ADC_VREFH_MILLIVOLTS) - (MULLE_ADC_VREFL_MILLIVOLTS))
 Total span of ADC measurement (millivolts).
 
#define MULLE_ADC_VBAT_ADC_NUM   1
 Which channel should perform Vbat measurements.
 
#define BOARD_DEBUG_UART_NUM   1
 UART module used for debug printf.
 
#define BOARD_DEBUG_UART_BAUD   115200
 Baud rate of debug UART.
 
#define BOARD_DEBUG_UART_TX_PIN_PORT   PORTC
 PORT module containing the TX pin of the debug UART.
 
#define BOARD_DEBUG_UART_RX_PIN_PORT   PORTC
 PORT module containing the RX pin of the debug UART.
 
#define BOARD_DEBUG_UART_TX_PIN_NUMBER   4
 Pin number within the PORT module of the TX pin of the debug UART.
 
#define BOARD_DEBUG_UART_RX_PIN_NUMBER   3
 Pin number within the PORT module of the RX pin of the debug UART.
 
#define BOARD_DEBUG_UART_TX_PIN_MUX   3
 Function number in the PORT mux for the TX pin of the debug UART.
 
#define BOARD_DEBUG_UART_RX_PIN_MUX   3
 Function number in the PORT mux for the RX pin of the debug UART.
 
#define NUM_UARTS   5
 Number of UART modules in CPU.
 
#define BOARD_SLIP_UART_NAME   "UART1"
 UART module used for SLIP communications. More...
 
#define BOARD_SLIP_UART_NUM   1
 UART module used for SLIP communications.
 
#define BOARD_RTC_LOAD_CAP_BITS   (RTC_CR_SC8P_MASK | RTC_CR_SC4P_MASK)
 RTC crystal load capacitance configuration bits.
 

Detailed Description

    Board configuration defines for Mulle platform.
Author
Joakim Gebart joaki.nosp@m.m.ge.nosp@m.bart@.nosp@m.eist.nosp@m.ec.se

Definition in file config-board.h.

Macro Definition Documentation

#define BOARD_SLIP_UART_NAME   "UART1"

UART module used for SLIP communications.

This string is passed to open() during slip_init_arch(). This is usually the module name within double-quotes e.g. "UART0"

Definition at line 146 of file config-board.h.

Referenced by slip_arch_init().

#define DISABLE_WDOG   1

Disable hardware watchdog, for debugging purposes, don't use this on production builds.

Definition at line 50 of file config-board.h.