MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
PIT Configuration Structures

Overview

This section describes default configuration structures for PIT module. Create a new configuration structure if default ones don't initialize on-chip peripheral in required operating mode (see Creating Configuration Structure).

Macros

#define PIT_CH_TMR_EN_CONFIG
 Timer channel enabled and Timer runs after initialization. Interrupt enabled on the peripheral level. More...
 
#define PIT_CH_TMR_DI_CONFIG
 Timer channel enabled but Timer stops. Use PIT_Enable macro to start Timer operation. Interrupt enabled on the peripheral level. More...
 

Macro Definition Documentation

#define PIT_CH_TMR_EN_CONFIG
Value:
(tPIT_CH){ \
/* TCTRL */ CLR(PIT_TCTRL_CHN_MASK)|SET(PIT_TCTRL_TIE_MASK)| \
/* ..... */ SET(PIT_TCTRL_TEN_MASK), \
}

Timer channel enabled and Timer runs after initialization. Interrupt enabled on the peripheral level.

#define PIT_CH_TMR_DI_CONFIG
Value:
(tPIT_CH){ \
/* TCTRL */ CLR(PIT_TCTRL_CHN_MASK)|SET(PIT_TCTRL_TIE_MASK)| \
/* ..... */ CLR(PIT_TCTRL_TEN_MASK), \
}

Timer channel enabled but Timer stops. Use PIT_Enable macro to start Timer operation. Interrupt enabled on the peripheral level.