Loading...
Searching...
No Matches
cfg_timer_a_smclk_b_aclk.h File Reference

Common timer configuration for TIMER_A clocked by SMCLK and TIMER_B clocked by ACLK. More...

Detailed Description

Common timer configuration for TIMER_A clocked by SMCLK and TIMER_B clocked by ACLK.

Author
Marian Buschsieweke maria.nosp@m.n.bu.nosp@m.schsi.nosp@m.ewek.nosp@m.e@pos.nosp@m.teo..nosp@m.net

Definition in file cfg_timer_a_smclk_b_aclk.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_timer_a_smclk_b_aclk.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Timer configuration

#define TIMER_NUMOF   ARRAY_SIZE(timer_conf)
 Number of timers available.
 
#define TIMER0_ISR_CC0   (TIMERA0_VECTOR)
 IRQ vector for channel 0 of TIMER_DEV(0)
 
#define TIMER0_ISR_CCX   (TIMERA1_VECTOR)
 IRQ vector for channels !=0 of TIMER_DEV(0)
 
#define TIMER1_ISR_CC0   (TIMERB0_VECTOR)
 IRQ vector for channel 0 of TIMER_DEV(0)
 
#define TIMER1_ISR_CCX   (TIMERB1_VECTOR)
 IRQ vector for channels !=0 of TIMER_DEV(1)
 
static const timer_conf_t timer_conf []
 Timer configuration.
 

Macro Definition Documentation

◆ TIMER0_ISR_CC0

#define TIMER0_ISR_CC0   (TIMERA0_VECTOR)

IRQ vector for channel 0 of TIMER_DEV(0)

Definition at line 50 of file cfg_timer_a_smclk_b_aclk.h.

◆ TIMER0_ISR_CCX

#define TIMER0_ISR_CCX   (TIMERA1_VECTOR)

IRQ vector for channels !=0 of TIMER_DEV(0)

Definition at line 51 of file cfg_timer_a_smclk_b_aclk.h.

◆ TIMER1_ISR_CC0

#define TIMER1_ISR_CC0   (TIMERB0_VECTOR)

IRQ vector for channel 0 of TIMER_DEV(0)

Definition at line 52 of file cfg_timer_a_smclk_b_aclk.h.

◆ TIMER1_ISR_CCX

#define TIMER1_ISR_CCX   (TIMERB1_VECTOR)

IRQ vector for channels !=0 of TIMER_DEV(1)

Definition at line 53 of file cfg_timer_a_smclk_b_aclk.h.

◆ TIMER_NUMOF

#define TIMER_NUMOF   ARRAY_SIZE(timer_conf)

Number of timers available.

Definition at line 48 of file cfg_timer_a_smclk_b_aclk.h.

Variable Documentation

◆ timer_conf

const timer_conf_t timer_conf[]
static
Initial value:
= {
{
.timer = &TIMER_A,
.irq_flags = &TIMER_A_IRQFLAGS,
},
{
.timer = &TIMER_B,
.irq_flags = &TIMER_B_IRQFLAGS,
}
}
@ TIMER_CLOCK_SOURCE_AUXILIARY_CLOCK
Auxiliary clock as clock source.
@ TIMER_CLOCK_SOURCE_SUBMAIN_CLOCK
Sub-system master clock as clock source.
msp430_timer_t TIMER_A
Register map of the timer A control registers.
msp430_timer_t TIMER_B
Register map of the timer B control registers.
REG16 TIMER_B_IRQFLAGS
IRQ flags for TIMER_B.
REG16 TIMER_A_IRQFLAGS
IRQ flags for TIMER_A.

Timer configuration.

Definition at line 36 of file cfg_timer_a_smclk_b_aclk.h.