MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
PMC Internal Voltage Regulator Configuration Structures

Overview

This section describes default configuration structures for internal voltage regulator of the PMC 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 PMC_INTREG_BGEN_OFF_BGBE_OFF_CONFIG
 Bandgap voltage reference is disabled in VLPx and VLLSx modes. Bandgap buffer is disabled. More...
 
#define PMC_INTREG_BGEN_ON_BGBE_OFF_CONFIG
 Bandgap voltage reference is enabled in VLPx and VLLSx modes. Bandgap buffer is disabled. More...
 
#define PMC_INTREG_BGEN_ON_BGBE_ON_CONFIG
 Bandgap voltage reference is enabled in VLPx and VLLSx modes. More...
 

Macro Definition Documentation

#define PMC_INTREG_BGEN_OFF_BGBE_OFF_CONFIG
Value:
(tREG){ \
/* REGSC */ CLR(PMC_REGSC_BGEN_MASK)|CLR(PMC_REGSC_ACKISO_MASK)| \
/* ..... */ CLR(PMC_REGSC_BGBE_MASK) \
}

Configures internal regulator of the PMC block to operate with:

  • Bandgap voltage reference is disabled in VLPx and VLLSx modes.
  • Bandgap buffer disabled.
  • ACKISO flag cleared (use PMC_SetACKISO macro to release I/O held state).
#define PMC_INTREG_BGEN_ON_BGBE_OFF_CONFIG
Value:
(tREG){ \
/* REGSC */ SET(PMC_REGSC_BGEN_MASK)|CLR(PMC_REGSC_ACKISO_MASK)| \
/* ..... */ CLR(PMC_REGSC_BGBE_MASK) \
}

Configures internal regulator of the PMC block to operate with:

  • Bandgap voltage reference is enabled in VLPx and VLLSx modes.
  • Bandgap buffer disabled.
  • ACKISO flag cleared (use PMC_SetACKISO macro to release I/O held state).
#define PMC_INTREG_BGEN_ON_BGBE_ON_CONFIG
Value:
(tREG){ \
/* REGSC */ SET(PMC_REGSC_BGEN_MASK)|CLR(PMC_REGSC_ACKISO_MASK)| \
/* ..... */ SET(PMC_REGSC_BGBE_MASK) \
}

Configures internal regulator of the PMC block to operate with:

  • Bandgap voltage reference is enabled in VLPx and VLLSx modes.
  • Bandgap buffer enabled.
  • ACKISO flag cleared (use PMC_SetACKISO macro to release I/O held state).