summaryrefslogtreecommitdiff
path: root/drivers/fsl_vref.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/fsl_vref.h')
-rw-r--r--drivers/fsl_vref.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/fsl_vref.h b/drivers/fsl_vref.h
index 349c124..6c6c014 100644
--- a/drivers/fsl_vref.h
+++ b/drivers/fsl_vref.h
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2015, Freescale Semiconductor, Inc.
- * All rights reserved.
+ * Copyright 2016-2017 NXP
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
@@ -12,7 +12,7 @@
* list of conditions and the following disclaimer in the documentation and/or
* other materials provided with the distribution.
*
- * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
+ * o Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
@@ -78,8 +78,8 @@ typedef enum _vref_buffer_mode
{
kVREF_ModeBandgapOnly = 0U, /*!< Bandgap on only, for stabilization and startup */
#if defined(FSL_FEATURE_VREF_MODE_LV_TYPE) && FSL_FEATURE_VREF_MODE_LV_TYPE
- kVREF_ModeHighPowerBuffer = 1U, /*!< High power buffer mode enabled */
- kVREF_ModeLowPowerBuffer = 2U /*!< Low power buffer mode enabled */
+ kVREF_ModeHighPowerBuffer = 1U, /*!< High-power buffer mode enabled */
+ kVREF_ModeLowPowerBuffer = 2U /*!< Low-power buffer mode enabled */
#else
kVREF_ModeTightRegulationBuffer = 2U /*!< Tight regulation buffer enabled */
#endif /* FSL_FEATURE_VREF_MODE_LV_TYPE */
@@ -116,11 +116,11 @@ extern "C" {
/*!
* @brief Enables the clock gate and configures the VREF module according to the configuration structure.
*
- * This function must be called before calling all the other VREF driver functions,
+ * This function must be called before calling all other VREF driver functions,
* read/write registers, and configurations with user-defined settings.
* The example below shows how to set up vref_config_t parameters and
- * how to call the VREF_Init function by passing in these parameters:
- * Example:
+ * how to call the VREF_Init function by passing in these parameters.
+ * This is an example.
* @code
* vref_config_t vrefConfig;
* vrefConfig.bufferMode = kVREF_ModeHighPowerBuffer;
@@ -138,7 +138,7 @@ void VREF_Init(VREF_Type *base, const vref_config_t *config);
* @brief Stops and disables the clock for the VREF module.
*
* This function should be called to shut down the module.
- * Example:
+ * This is an example.
* @code
* vref_config_t vrefUserConfig;
* VREF_Init(VREF);
@@ -154,8 +154,8 @@ void VREF_Deinit(VREF_Type *base);
/*!
* @brief Initializes the VREF configuration structure.
*
- * This function initializes the VREF configuration structure to a default value.
- * Example:
+ * This function initializes the VREF configuration structure to default values.
+ * This is an example.
* @code
* vrefConfig->bufferMode = kVREF_ModeHighPowerBuffer;
* vrefConfig->enableExternalVoltRef = false;
@@ -167,9 +167,9 @@ void VREF_Deinit(VREF_Type *base);
void VREF_GetDefaultConfig(vref_config_t *config);
/*!
- * @brief Sets a TRIM value for reference voltage.
+ * @brief Sets a TRIM value for the reference voltage.
*
- * This function sets a TRIM value for reference voltage.
+ * This function sets a TRIM value for the reference voltage.
* Note that the TRIM value maximum is 0x3F.
*
* @param base VREF peripheral address.
@@ -192,9 +192,9 @@ static inline uint8_t VREF_GetTrimVal(VREF_Type *base)
#if defined(FSL_FEATURE_VREF_HAS_TRM4) && FSL_FEATURE_VREF_HAS_TRM4
/*!
- * @brief Sets a TRIM value for reference voltage (2V1).
+ * @brief Sets a TRIM value for the reference voltage (2V1).
*
- * This function sets a TRIM value for reference voltage (2V1).
+ * This function sets a TRIM value for the reference voltage (2V1).
* Note that the TRIM value maximum is 0x3F.
*
* @param base VREF peripheral address.
@@ -219,10 +219,10 @@ static inline uint8_t VREF_GetTrim2V1Val(VREF_Type *base)
#if defined(FSL_FEATURE_VREF_HAS_LOW_REFERENCE) && FSL_FEATURE_VREF_HAS_LOW_REFERENCE
/*!
- * @brief Sets the TRIM value for low voltage reference.
+ * @brief Sets the TRIM value for the low voltage reference.
*
* This function sets the TRIM value for low reference voltage.
- * NOTE:
+ * Note the following.
* - The TRIM value maximum is 0x05U
* - The values 111b and 110b are not valid/allowed.
*