easy connect wnc added to http request with debug mode enabled. traces collected for AT%CGEQOS, AT%MEAS, AT%PCONI
Dependencies: WNC14A2AInterface-httpmodified
Fork of easy-connect by
mcr20a-rf-driver/source/MCR20Drv.h@8:54ac58ec99d5, 2017-12-14 (annotated)
- Committer:
- nrithya
- Date:
- Thu Dec 14 00:33:15 2017 +0000
- Revision:
- 8:54ac58ec99d5
- Parent:
- 0:2563b0415d1f
easy connect wnc added to http request with debug mode enabled. traces collected for AT%CGEQOS, AT%MEAS, AT%PCONI
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JMF | 0:2563b0415d1f | 1 | /*! |
JMF | 0:2563b0415d1f | 2 | * Copyright (c) 2015, Freescale Semiconductor, Inc. |
JMF | 0:2563b0415d1f | 3 | * All rights reserved. |
JMF | 0:2563b0415d1f | 4 | * |
JMF | 0:2563b0415d1f | 5 | * \file MCR20Drv.h |
JMF | 0:2563b0415d1f | 6 | * |
JMF | 0:2563b0415d1f | 7 | * Redistribution and use in source and binary forms, with or without modification, |
JMF | 0:2563b0415d1f | 8 | * are permitted provided that the following conditions are met: |
JMF | 0:2563b0415d1f | 9 | * |
JMF | 0:2563b0415d1f | 10 | * o Redistributions of source code must retain the above copyright notice, this list |
JMF | 0:2563b0415d1f | 11 | * of conditions and the following disclaimer. |
JMF | 0:2563b0415d1f | 12 | * |
JMF | 0:2563b0415d1f | 13 | * o Redistributions in binary form must reproduce the above copyright notice, this |
JMF | 0:2563b0415d1f | 14 | * list of conditions and the following disclaimer in the documentation and/or |
JMF | 0:2563b0415d1f | 15 | * other materials provided with the distribution. |
JMF | 0:2563b0415d1f | 16 | * |
JMF | 0:2563b0415d1f | 17 | * o Neither the name of Freescale Semiconductor, Inc. nor the names of its |
JMF | 0:2563b0415d1f | 18 | * contributors may be used to endorse or promote products derived from this |
JMF | 0:2563b0415d1f | 19 | * software without specific prior written permission. |
JMF | 0:2563b0415d1f | 20 | * |
JMF | 0:2563b0415d1f | 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
JMF | 0:2563b0415d1f | 22 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
JMF | 0:2563b0415d1f | 23 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
JMF | 0:2563b0415d1f | 24 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
JMF | 0:2563b0415d1f | 25 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
JMF | 0:2563b0415d1f | 26 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
JMF | 0:2563b0415d1f | 27 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
JMF | 0:2563b0415d1f | 28 | * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
JMF | 0:2563b0415d1f | 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
JMF | 0:2563b0415d1f | 30 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
JMF | 0:2563b0415d1f | 31 | */ |
JMF | 0:2563b0415d1f | 32 | |
JMF | 0:2563b0415d1f | 33 | #ifndef __MCR20_DRV_H__ |
JMF | 0:2563b0415d1f | 34 | #define __MCR20_DRV_H__ |
JMF | 0:2563b0415d1f | 35 | |
JMF | 0:2563b0415d1f | 36 | |
JMF | 0:2563b0415d1f | 37 | /***************************************************************************** |
JMF | 0:2563b0415d1f | 38 | * INCLUDED HEADERS * |
JMF | 0:2563b0415d1f | 39 | *---------------------------------------------------------------------------* |
JMF | 0:2563b0415d1f | 40 | * Add to this section all the headers that this module needs to include. * |
JMF | 0:2563b0415d1f | 41 | * Note that it is not a good practice to include header files into header * |
JMF | 0:2563b0415d1f | 42 | * files, so use this section only if there is no other better solution. * |
JMF | 0:2563b0415d1f | 43 | *---------------------------------------------------------------------------* |
JMF | 0:2563b0415d1f | 44 | *****************************************************************************/ |
JMF | 0:2563b0415d1f | 45 | |
JMF | 0:2563b0415d1f | 46 | /***************************************************************************** |
JMF | 0:2563b0415d1f | 47 | * PRIVATE MACROS * |
JMF | 0:2563b0415d1f | 48 | *---------------------------------------------------------------------------* |
JMF | 0:2563b0415d1f | 49 | * Add to this section all the access macros, registers mappings, bit access * |
JMF | 0:2563b0415d1f | 50 | * macros, masks, flags etc ... |
JMF | 0:2563b0415d1f | 51 | *---------------------------------------------------------------------------* |
JMF | 0:2563b0415d1f | 52 | *****************************************************************************/ |
JMF | 0:2563b0415d1f | 53 | |
JMF | 0:2563b0415d1f | 54 | /* Disable XCVR clock output by default, to reduce power consumption */ |
JMF | 0:2563b0415d1f | 55 | #ifndef gMCR20_ClkOutFreq_d |
JMF | 0:2563b0415d1f | 56 | #define gMCR20_ClkOutFreq_d gCLK_OUT_FREQ_DISABLE |
JMF | 0:2563b0415d1f | 57 | #endif |
JMF | 0:2563b0415d1f | 58 | |
JMF | 0:2563b0415d1f | 59 | /***************************************************************************** |
JMF | 0:2563b0415d1f | 60 | * PUBLIC FUNCTIONS * |
JMF | 0:2563b0415d1f | 61 | *---------------------------------------------------------------------------* |
JMF | 0:2563b0415d1f | 62 | * Add to this section all the global functions prototype preceded (as a * |
JMF | 0:2563b0415d1f | 63 | * good practice) by the keyword 'extern' * |
JMF | 0:2563b0415d1f | 64 | *---------------------------------------------------------------------------* |
JMF | 0:2563b0415d1f | 65 | *****************************************************************************/ |
JMF | 0:2563b0415d1f | 66 | |
JMF | 0:2563b0415d1f | 67 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 68 | * Name: MCR20Drv_Init |
JMF | 0:2563b0415d1f | 69 | * Description: - |
JMF | 0:2563b0415d1f | 70 | * Parameters: - |
JMF | 0:2563b0415d1f | 71 | * Return: - |
JMF | 0:2563b0415d1f | 72 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 73 | extern void MCR20Drv_Init |
JMF | 0:2563b0415d1f | 74 | ( |
JMF | 0:2563b0415d1f | 75 | void |
JMF | 0:2563b0415d1f | 76 | ); |
JMF | 0:2563b0415d1f | 77 | |
JMF | 0:2563b0415d1f | 78 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 79 | * Name: MCR20Drv_SPI_DMA_Init |
JMF | 0:2563b0415d1f | 80 | * Description: - |
JMF | 0:2563b0415d1f | 81 | * Parameters: - |
JMF | 0:2563b0415d1f | 82 | * Return: - |
JMF | 0:2563b0415d1f | 83 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 84 | void MCR20Drv_SPI_DMA_Init |
JMF | 0:2563b0415d1f | 85 | ( |
JMF | 0:2563b0415d1f | 86 | void |
JMF | 0:2563b0415d1f | 87 | ); |
JMF | 0:2563b0415d1f | 88 | |
JMF | 0:2563b0415d1f | 89 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 90 | * Name: MCR20Drv_Start_PB_DMA_SPI_Write |
JMF | 0:2563b0415d1f | 91 | * Description: - |
JMF | 0:2563b0415d1f | 92 | * Parameters: - |
JMF | 0:2563b0415d1f | 93 | * Return: - |
JMF | 0:2563b0415d1f | 94 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 95 | void MCR20Drv_Start_PB_DMA_SPI_Write |
JMF | 0:2563b0415d1f | 96 | ( |
JMF | 0:2563b0415d1f | 97 | uint8_t * srcAddress, |
JMF | 0:2563b0415d1f | 98 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 99 | ); |
JMF | 0:2563b0415d1f | 100 | |
JMF | 0:2563b0415d1f | 101 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 102 | * Name: MCR20Drv_Start_PB_DMA_SPI_Read |
JMF | 0:2563b0415d1f | 103 | * Description: - |
JMF | 0:2563b0415d1f | 104 | * Parameters: - |
JMF | 0:2563b0415d1f | 105 | * Return: - |
JMF | 0:2563b0415d1f | 106 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 107 | void MCR20Drv_Start_PB_DMA_SPI_Read |
JMF | 0:2563b0415d1f | 108 | ( |
JMF | 0:2563b0415d1f | 109 | uint8_t * dstAddress, |
JMF | 0:2563b0415d1f | 110 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 111 | ); |
JMF | 0:2563b0415d1f | 112 | |
JMF | 0:2563b0415d1f | 113 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 114 | * Name: MCR20Drv_DirectAccessSPIWrite |
JMF | 0:2563b0415d1f | 115 | * Description: - |
JMF | 0:2563b0415d1f | 116 | * Parameters: - |
JMF | 0:2563b0415d1f | 117 | * Return: - |
JMF | 0:2563b0415d1f | 118 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 119 | void MCR20Drv_DirectAccessSPIWrite |
JMF | 0:2563b0415d1f | 120 | ( |
JMF | 0:2563b0415d1f | 121 | uint8_t address, |
JMF | 0:2563b0415d1f | 122 | uint8_t value |
JMF | 0:2563b0415d1f | 123 | ); |
JMF | 0:2563b0415d1f | 124 | |
JMF | 0:2563b0415d1f | 125 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 126 | * Name: MCR20Drv_DirectAccessSPIMultiByteWrite |
JMF | 0:2563b0415d1f | 127 | * Description: - |
JMF | 0:2563b0415d1f | 128 | * Parameters: - |
JMF | 0:2563b0415d1f | 129 | * Return: - |
JMF | 0:2563b0415d1f | 130 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 131 | void MCR20Drv_DirectAccessSPIMultiByteWrite |
JMF | 0:2563b0415d1f | 132 | ( |
JMF | 0:2563b0415d1f | 133 | uint8_t startAddress, |
JMF | 0:2563b0415d1f | 134 | uint8_t * byteArray, |
JMF | 0:2563b0415d1f | 135 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 136 | ); |
JMF | 0:2563b0415d1f | 137 | |
JMF | 0:2563b0415d1f | 138 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 139 | * Name: MCR20Drv_PB_SPIBurstWrite |
JMF | 0:2563b0415d1f | 140 | * Description: - |
JMF | 0:2563b0415d1f | 141 | * Parameters: - |
JMF | 0:2563b0415d1f | 142 | * Return: - |
JMF | 0:2563b0415d1f | 143 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 144 | void MCR20Drv_PB_SPIBurstWrite |
JMF | 0:2563b0415d1f | 145 | ( |
JMF | 0:2563b0415d1f | 146 | uint8_t * byteArray, |
JMF | 0:2563b0415d1f | 147 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 148 | ); |
JMF | 0:2563b0415d1f | 149 | |
JMF | 0:2563b0415d1f | 150 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 151 | * Name: MCR20Drv_DirectAccessSPIRead |
JMF | 0:2563b0415d1f | 152 | * Description: - |
JMF | 0:2563b0415d1f | 153 | * Parameters: - |
JMF | 0:2563b0415d1f | 154 | * Return: - |
JMF | 0:2563b0415d1f | 155 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 156 | uint8_t MCR20Drv_DirectAccessSPIRead |
JMF | 0:2563b0415d1f | 157 | ( |
JMF | 0:2563b0415d1f | 158 | uint8_t address |
JMF | 0:2563b0415d1f | 159 | ); |
JMF | 0:2563b0415d1f | 160 | |
JMF | 0:2563b0415d1f | 161 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 162 | * Name: MCR20Drv_DirectAccessSPIMultyByteRead |
JMF | 0:2563b0415d1f | 163 | * Description: - |
JMF | 0:2563b0415d1f | 164 | * Parameters: - |
JMF | 0:2563b0415d1f | 165 | * Return: - |
JMF | 0:2563b0415d1f | 166 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 167 | |
JMF | 0:2563b0415d1f | 168 | uint8_t MCR20Drv_DirectAccessSPIMultiByteRead |
JMF | 0:2563b0415d1f | 169 | ( |
JMF | 0:2563b0415d1f | 170 | uint8_t startAddress, |
JMF | 0:2563b0415d1f | 171 | uint8_t * byteArray, |
JMF | 0:2563b0415d1f | 172 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 173 | ); |
JMF | 0:2563b0415d1f | 174 | |
JMF | 0:2563b0415d1f | 175 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 176 | * Name: MCR20Drv_PB_SPIByteWrite |
JMF | 0:2563b0415d1f | 177 | * Description: - |
JMF | 0:2563b0415d1f | 178 | * Parameters: - |
JMF | 0:2563b0415d1f | 179 | * Return: - |
JMF | 0:2563b0415d1f | 180 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 181 | void MCR20Drv_PB_SPIByteWrite |
JMF | 0:2563b0415d1f | 182 | ( |
JMF | 0:2563b0415d1f | 183 | uint8_t address, |
JMF | 0:2563b0415d1f | 184 | uint8_t value |
JMF | 0:2563b0415d1f | 185 | ); |
JMF | 0:2563b0415d1f | 186 | |
JMF | 0:2563b0415d1f | 187 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 188 | * Name: MCR20Drv_PB_SPIBurstRead |
JMF | 0:2563b0415d1f | 189 | * Description: - |
JMF | 0:2563b0415d1f | 190 | * Parameters: - |
JMF | 0:2563b0415d1f | 191 | * Return: - |
JMF | 0:2563b0415d1f | 192 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 193 | uint8_t MCR20Drv_PB_SPIBurstRead |
JMF | 0:2563b0415d1f | 194 | ( |
JMF | 0:2563b0415d1f | 195 | uint8_t * byteArray, |
JMF | 0:2563b0415d1f | 196 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 197 | ); |
JMF | 0:2563b0415d1f | 198 | |
JMF | 0:2563b0415d1f | 199 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 200 | * Name: MCR20Drv_IndirectAccessSPIWrite |
JMF | 0:2563b0415d1f | 201 | * Description: - |
JMF | 0:2563b0415d1f | 202 | * Parameters: - |
JMF | 0:2563b0415d1f | 203 | * Return: - |
JMF | 0:2563b0415d1f | 204 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 205 | void MCR20Drv_IndirectAccessSPIWrite |
JMF | 0:2563b0415d1f | 206 | ( |
JMF | 0:2563b0415d1f | 207 | uint8_t address, |
JMF | 0:2563b0415d1f | 208 | uint8_t value |
JMF | 0:2563b0415d1f | 209 | ); |
JMF | 0:2563b0415d1f | 210 | |
JMF | 0:2563b0415d1f | 211 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 212 | * Name: MCR20Drv_IndirectAccessSPIMultiByteWrite |
JMF | 0:2563b0415d1f | 213 | * Description: - |
JMF | 0:2563b0415d1f | 214 | * Parameters: - |
JMF | 0:2563b0415d1f | 215 | * Return: - |
JMF | 0:2563b0415d1f | 216 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 217 | void MCR20Drv_IndirectAccessSPIMultiByteWrite |
JMF | 0:2563b0415d1f | 218 | ( |
JMF | 0:2563b0415d1f | 219 | uint8_t startAddress, |
JMF | 0:2563b0415d1f | 220 | uint8_t * byteArray, |
JMF | 0:2563b0415d1f | 221 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 222 | ); |
JMF | 0:2563b0415d1f | 223 | |
JMF | 0:2563b0415d1f | 224 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 225 | * Name: MCR20Drv_IndirectAccessSPIRead |
JMF | 0:2563b0415d1f | 226 | * Description: - |
JMF | 0:2563b0415d1f | 227 | * Parameters: - |
JMF | 0:2563b0415d1f | 228 | * Return: - |
JMF | 0:2563b0415d1f | 229 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 230 | uint8_t MCR20Drv_IndirectAccessSPIRead |
JMF | 0:2563b0415d1f | 231 | ( |
JMF | 0:2563b0415d1f | 232 | uint8_t address |
JMF | 0:2563b0415d1f | 233 | ); |
JMF | 0:2563b0415d1f | 234 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 235 | * Name: MCR20Drv_IndirectAccessSPIMultiByteRead |
JMF | 0:2563b0415d1f | 236 | * Description: - |
JMF | 0:2563b0415d1f | 237 | * Parameters: - |
JMF | 0:2563b0415d1f | 238 | * Return: - |
JMF | 0:2563b0415d1f | 239 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 240 | void MCR20Drv_IndirectAccessSPIMultiByteRead |
JMF | 0:2563b0415d1f | 241 | ( |
JMF | 0:2563b0415d1f | 242 | uint8_t startAddress, |
JMF | 0:2563b0415d1f | 243 | uint8_t * byteArray, |
JMF | 0:2563b0415d1f | 244 | uint8_t numOfBytes |
JMF | 0:2563b0415d1f | 245 | ); |
JMF | 0:2563b0415d1f | 246 | |
JMF | 0:2563b0415d1f | 247 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 248 | * Name: MCR20Drv_IsIrqPending |
JMF | 0:2563b0415d1f | 249 | * Description: - |
JMF | 0:2563b0415d1f | 250 | * Parameters: - |
JMF | 0:2563b0415d1f | 251 | * Return: - |
JMF | 0:2563b0415d1f | 252 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 253 | uint32_t MCR20Drv_IsIrqPending |
JMF | 0:2563b0415d1f | 254 | ( |
JMF | 0:2563b0415d1f | 255 | void |
JMF | 0:2563b0415d1f | 256 | ); |
JMF | 0:2563b0415d1f | 257 | |
JMF | 0:2563b0415d1f | 258 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 259 | * Name: MCR20Drv_IRQ_Disable |
JMF | 0:2563b0415d1f | 260 | * Description: - |
JMF | 0:2563b0415d1f | 261 | * Parameters: - |
JMF | 0:2563b0415d1f | 262 | * Return: - |
JMF | 0:2563b0415d1f | 263 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 264 | void MCR20Drv_IRQ_Disable |
JMF | 0:2563b0415d1f | 265 | ( |
JMF | 0:2563b0415d1f | 266 | void |
JMF | 0:2563b0415d1f | 267 | ); |
JMF | 0:2563b0415d1f | 268 | |
JMF | 0:2563b0415d1f | 269 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 270 | * Name: MCR20Drv_IRQ_Enable |
JMF | 0:2563b0415d1f | 271 | * Description: - |
JMF | 0:2563b0415d1f | 272 | * Parameters: - |
JMF | 0:2563b0415d1f | 273 | * Return: - |
JMF | 0:2563b0415d1f | 274 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 275 | void MCR20Drv_IRQ_Enable |
JMF | 0:2563b0415d1f | 276 | ( |
JMF | 0:2563b0415d1f | 277 | void |
JMF | 0:2563b0415d1f | 278 | ); |
JMF | 0:2563b0415d1f | 279 | |
JMF | 0:2563b0415d1f | 280 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 281 | * Name: MCR20Drv_RST_PortConfig |
JMF | 0:2563b0415d1f | 282 | * Description: - |
JMF | 0:2563b0415d1f | 283 | * Parameters: - |
JMF | 0:2563b0415d1f | 284 | * Return: - |
JMF | 0:2563b0415d1f | 285 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 286 | void MCR20Drv_RST_B_PortConfig |
JMF | 0:2563b0415d1f | 287 | ( |
JMF | 0:2563b0415d1f | 288 | void |
JMF | 0:2563b0415d1f | 289 | ); |
JMF | 0:2563b0415d1f | 290 | |
JMF | 0:2563b0415d1f | 291 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 292 | * Name: MCR20Drv_RST_Assert |
JMF | 0:2563b0415d1f | 293 | * Description: - |
JMF | 0:2563b0415d1f | 294 | * Parameters: - |
JMF | 0:2563b0415d1f | 295 | * Return: - |
JMF | 0:2563b0415d1f | 296 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 297 | void MCR20Drv_RST_B_Assert |
JMF | 0:2563b0415d1f | 298 | ( |
JMF | 0:2563b0415d1f | 299 | void |
JMF | 0:2563b0415d1f | 300 | ); |
JMF | 0:2563b0415d1f | 301 | |
JMF | 0:2563b0415d1f | 302 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 303 | * Name: MCR20Drv_RST_Deassert |
JMF | 0:2563b0415d1f | 304 | * Description: - |
JMF | 0:2563b0415d1f | 305 | * Parameters: - |
JMF | 0:2563b0415d1f | 306 | * Return: - |
JMF | 0:2563b0415d1f | 307 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 308 | void MCR20Drv_RST_B_Deassert |
JMF | 0:2563b0415d1f | 309 | ( |
JMF | 0:2563b0415d1f | 310 | void |
JMF | 0:2563b0415d1f | 311 | ); |
JMF | 0:2563b0415d1f | 312 | |
JMF | 0:2563b0415d1f | 313 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 314 | * Name: MCR20Drv_SoftRST_Assert |
JMF | 0:2563b0415d1f | 315 | * Description: - |
JMF | 0:2563b0415d1f | 316 | * Parameters: - |
JMF | 0:2563b0415d1f | 317 | * Return: - |
JMF | 0:2563b0415d1f | 318 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 319 | void MCR20Drv_SoftRST_Assert |
JMF | 0:2563b0415d1f | 320 | ( |
JMF | 0:2563b0415d1f | 321 | void |
JMF | 0:2563b0415d1f | 322 | ); |
JMF | 0:2563b0415d1f | 323 | |
JMF | 0:2563b0415d1f | 324 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 325 | * Name: MCR20Drv_SoftRST_Deassert |
JMF | 0:2563b0415d1f | 326 | * Description: - |
JMF | 0:2563b0415d1f | 327 | * Parameters: - |
JMF | 0:2563b0415d1f | 328 | * Return: - |
JMF | 0:2563b0415d1f | 329 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 330 | void MCR20Drv_SoftRST_Deassert |
JMF | 0:2563b0415d1f | 331 | ( |
JMF | 0:2563b0415d1f | 332 | void |
JMF | 0:2563b0415d1f | 333 | ); |
JMF | 0:2563b0415d1f | 334 | |
JMF | 0:2563b0415d1f | 335 | |
JMF | 0:2563b0415d1f | 336 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 337 | * Name: MCR20Drv_RESET |
JMF | 0:2563b0415d1f | 338 | * Description: - |
JMF | 0:2563b0415d1f | 339 | * Parameters: - |
JMF | 0:2563b0415d1f | 340 | * Return: - |
JMF | 0:2563b0415d1f | 341 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 342 | void MCR20Drv_RESET |
JMF | 0:2563b0415d1f | 343 | ( |
JMF | 0:2563b0415d1f | 344 | void |
JMF | 0:2563b0415d1f | 345 | ); |
JMF | 0:2563b0415d1f | 346 | |
JMF | 0:2563b0415d1f | 347 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 348 | * Name: MCR20Drv_Soft_RESET |
JMF | 0:2563b0415d1f | 349 | * Description: - |
JMF | 0:2563b0415d1f | 350 | * Parameters: - |
JMF | 0:2563b0415d1f | 351 | * Return: - |
JMF | 0:2563b0415d1f | 352 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 353 | void MCR20Drv_Soft_RESET |
JMF | 0:2563b0415d1f | 354 | ( |
JMF | 0:2563b0415d1f | 355 | void |
JMF | 0:2563b0415d1f | 356 | ); |
JMF | 0:2563b0415d1f | 357 | |
JMF | 0:2563b0415d1f | 358 | /*--------------------------------------------------------------------------- |
JMF | 0:2563b0415d1f | 359 | * Name: MCR20Drv_Set_CLK_OUT_Freq |
JMF | 0:2563b0415d1f | 360 | * Description: - |
JMF | 0:2563b0415d1f | 361 | * Parameters: - |
JMF | 0:2563b0415d1f | 362 | * Return: - |
JMF | 0:2563b0415d1f | 363 | *---------------------------------------------------------------------------*/ |
JMF | 0:2563b0415d1f | 364 | void MCR20Drv_Set_CLK_OUT_Freq |
JMF | 0:2563b0415d1f | 365 | ( |
JMF | 0:2563b0415d1f | 366 | uint8_t freqDiv |
JMF | 0:2563b0415d1f | 367 | ); |
JMF | 0:2563b0415d1f | 368 | |
JMF | 0:2563b0415d1f | 369 | #define ProtectFromMCR20Interrupt() MCR20Drv_IRQ_Disable() |
JMF | 0:2563b0415d1f | 370 | #define UnprotectFromMCR20Interrupt() MCR20Drv_IRQ_Enable() |
JMF | 0:2563b0415d1f | 371 | |
JMF | 0:2563b0415d1f | 372 | #endif /* __MCR20_DRV_H__ */ |