The friendly Operating System for the Internet of Things
boards/z1/include/periph_conf.h File Reference

Zolertia Z1 peripheral configuration. More...

Detailed Description

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CLOCK_CORECLOCK   (8000000U)
 Clock configuration. More...
 
#define CLOCK_CMCLK   CLOCK_CORECLOCK /* no divider programmed */
 
Timer configuration
#define TIMER_NUMOF   (1U)
 
#define TIMER_BASE   (TIMER_A)
 
#define TIMER_CHAN   (3)
 
#define TIMER_ISR_CC0   (TIMERA0_VECTOR)
 
#define TIMER_ISR_CCX   (TIMERA1_VECTOR)
 
UART configuration
#define UART_NUMOF   (1U)
 
#define UART_0_EN   (1U)
 
#define UART_USE_USCI
 
#define UART_BASE   (USCI_0)
 
#define UART_IE   (SFR->IE2)
 
#define UART_IF   (SFR->IFG2)
 
#define UART_IE_RX_BIT   (1 << 0)
 
#define UART_IE_TX_BIT   (1 << 1)
 
#define UART_RX_PORT   ((msp_port_t *)PORT_3)
 
#define UART_RX_PIN   (1 << 5)
 
#define UART_TX_PORT   ((msp_port_t *)PORT_3)
 
#define UART_TX_PIN   (1 << 4)
 
#define UART_RX_ISR   (USCIAB0RX_VECTOR)
 
#define UART_TX_ISR   (USCIAB0TX_VECTOR)
 
SPI configuration
#define SPI_NUMOF   (1U)
 
#define SPI_USE_USCI
 
#define SPI_BASE   (USCI_0_B_SPI)
 
#define SPI_IE   (SFR->IE2)
 
#define SPI_IF   (SFR->IFG2)
 
#define SPI_IE_RX_BIT   (1 << 2)
 
#define SPI_IE_TX_BIT   (1 << 3)
 
#define SPI_PIN_MISO   GPIO_PIN(P3,2)
 
#define SPI_PIN_MOSI   GPIO_PIN(P3,1)
 
#define SPI_PIN_CLK   GPIO_PIN(P3,3)
 

Macro Definition Documentation

#define CLOCK_CORECLOCK   (8000000U)
Todo:
Move all clock configuration code here from the board.h

Definition at line 33 of file boards/z1/include/periph_conf.h.