Logo
TIDM-CAPTIVATE-64-BUTTON Example Applications Guide  v1.00.00.00
CAPT_BSP_Layer

Macros

#define XT1_OSC_FREQ   (32768)
 
#define XT1_OSC_TIMEOUT   (65000)
 
#define MCLK_FREQ   (8000000)
 
#define SMCLK_FREQ   (2000000)
 
#define ACLK_FREQ   (32768)
 
#define FLLREF_FREQ   (32768)
 
#define FLL_RATIO   (MCLK_FREQ / FLLREF_FREQ)
 
#define OSC_TIMEOUT   (1000)
 
#define LED1_POUT   (P1OUT)
 
#define LED1_PDIR   (P1DIR)
 
#define LED1_PIN   (BIT7)
 
#define LED1_ON   (LED1_POUT |= LED1_PIN)
 
#define LED1_OFF   (LED1_POUT &= ~LED1_PIN)
 
#define LED1_TOGGLE   (LED1_POUT ^= LED1_PIN)
 
#define LED2_POUT   (P1OUT)
 
#define LED2_PDIR   (P1DIR)
 
#define LED2_PIN   (BIT6)
 
#define LED2_ON   (LED2_POUT |= LED2_PIN)
 
#define LED2_OFF   (LED2_POUT &= ~LED2_PIN)
 
#define LED2_TOGGLE   (LED2_POUT ^= LED2_PIN)
 

Functions

void BSP_configureMCU (void)
 This function is configures the MCU Digital IO and CS for operation. More...
 

Detailed Description

CAPT_BSP is the board support package for the Capacitive Touch MCU Development Kit. It defines the BSP_configureMCU() function, which configures the MCU clock system (CS) and port muxing (Digital IO).

Version
1.01.01.00 Released on Thu, Oct 15, 2015 12:27:24 AM

Function Documentation

void BSP_configureMCU ( void  )

This function is configures the MCU Digital IO and CS for operation.

This function is configures the MCU for operation. This involves setting up the digital IO muxes and configuring the clock system (CS).

Parameters
none
Returns
none