gr55xx_hal_msio_ex.h File Reference

Header file containing extended macro of MSIO HAL library. More...

#include "gr55xx_hal_def.h"
#include "gr55xx_ll_msio.h"

Go to the source code of this file.

Macros

#define MSIO_MUX_0   LL_MSIO_MUX_0
 
#define MSIO_MUX_1   LL_MSIO_MUX_1
 
#define MSIO_MUX_2   LL_MSIO_MUX_2
 
#define MSIO_MUX_3   LL_MSIO_MUX_3
 
#define MSIO_MUX_4   LL_MSIO_MUX_4
 
#define MSIO_MUX_5   LL_MSIO_MUX_5
 
#define MSIO_MUX_6   LL_MSIO_MUX_6
 
#define MSIO_MUX_7   LL_MSIO_MUX_7
 
#define MSIO_PIN_MUX_GPIO   MSIO_MUX_7
 
#define MSIO_PIN0_MUX_PWM0_A   MSIO_MUX_0
 
#define MSIO_PIN0_MUX_UART0_TX   MSIO_MUX_1
 
#define MSIO_PIN0_MUX_UART1_TX   MSIO_MUX_2
 
#define MSIO_PIN0_MUX_I2C0_SCL   MSIO_MUX_3
 
#define MSIO_PIN0_MUX_I2C1_SCL   MSIO_MUX_4
 
#define MSIO_PIN1_MUX_PWM0_B   MSIO_MUX_0
 
#define MSIO_PIN1_MUX_UART0_RX   MSIO_MUX_1
 
#define MSIO_PIN1_MUX_UART1_RX   MSIO_MUX_2
 
#define MSIO_PIN1_MUX_I2C0_SDA   MSIO_MUX_3
 
#define MSIO_PIN1_MUX_I2C1_SDA   MSIO_MUX_4
 
#define MSIO_PIN2_MUX_PWM0_C   MSIO_MUX_0
 
#define MSIO_PIN3_MUX_PWM1_A   MSIO_MUX_0
 
#define MSIO_PIN3_MUX_UART0_RTS   MSIO_MUX_1
 
#define MSIO_PIN3_MUX_UART1_RTS   MSIO_MUX_2
 
#define MSIO_PIN3_MUX_I2C0_SCL   MSIO_MUX_3
 
#define MSIO_PIN3_MUX_I2C1_SCL   MSIO_MUX_4
 
#define MSIO_PIN4_MUX_PWM1_B   MSIO_MUX_0
 
#define MSIO_PIN4_MUX_UART0_CTS   MSIO_MUX_1
 
#define MSIO_PIN4_MUX_UART1_CTS   MSIO_MUX_2
 
#define MSIO_PIN4_MUX_I2C0_SDA   MSIO_MUX_3
 
#define MSIO_PIN4_MUX_I2C1_SDA   MSIO_MUX_4
 
#define IS_MSIO_MUX(__MUX__)   (((__MUX__) <= MSIO_MUX_7))
 Check if MSIO mux mode is valid. More...
 

Detailed Description

Header file containing extended macro of MSIO HAL library.

Author
BLE Driver Team
Attention
#####Copyright (c) 2019 GOODIX All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file gr55xx_hal_msio_ex.h.