#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include "stm32f10x_conf.h"
#include "core_cm3.h"
#include "breezyprintf.h"
#include "drv_system.h"
#include "drv_gpio.h"
#include "drv_adc.h"
#include "drv_i2c.h"
#include "drv_pwm.h"
#include "drv_spi.h"
#include "drv_timer.h"
#include "drv_serial.h"
#include "drv_uart.h"
Go to the source code of this file.
Macros | |
#define | ACC |
#define | BUZZER |
#define | DBGAFR_LOCATION_MASK ((uint32_t)0x00200000) |
#define | DBGAFR_NUMBITS_MASK ((uint32_t)0x00100000) |
#define | DBGAFR_POSITION_MASK ((uint32_t)0x000F0000) |
#define | DBGAFR_SWJCFG_MASK ((uint32_t)0xF0FFFFFF) |
#define | GYRO |
#define | I2C_DEVICE (I2CDEV_2) |
#define | I2C_DEVICE (I2CDEV_2) |
#define | INVERTER |
#define | LED0 |
#define | LED1 |
#define | LSB_MASK ((uint16_t)0xFFFF) |
Functions | |
void | gpioExtiLineConfig (uint8_t portsrc, uint8_t pinsrc) |
void | gpioInit (GPIO_TypeDef *gpio, gpio_config_t *config) |
void | gpioPinRemapConfig (uint32_t remap, bool enable) |
#define ACC |
Definition at line 40 of file drv_gpio.c.
#define BUZZER |
Definition at line 41 of file drv_gpio.c.
#define DBGAFR_LOCATION_MASK ((uint32_t)0x00200000) |
Definition at line 100 of file drv_gpio.c.
#define DBGAFR_NUMBITS_MASK ((uint32_t)0x00100000) |
Definition at line 101 of file drv_gpio.c.
#define DBGAFR_POSITION_MASK ((uint32_t)0x000F0000) |
Definition at line 98 of file drv_gpio.c.
#define DBGAFR_SWJCFG_MASK ((uint32_t)0xF0FFFFFF) |
Definition at line 99 of file drv_gpio.c.
#define GYRO |
Definition at line 39 of file drv_gpio.c.
#define I2C_DEVICE (I2CDEV_2) |
Definition at line 46 of file drv_gpio.c.
#define I2C_DEVICE (I2CDEV_2) |
Definition at line 46 of file drv_gpio.c.
#define INVERTER |
Definition at line 44 of file drv_gpio.c.
#define LED0 |
Definition at line 42 of file drv_gpio.c.
#define LED1 |
Definition at line 43 of file drv_gpio.c.
#define LSB_MASK ((uint16_t)0xFFFF) |
Definition at line 97 of file drv_gpio.c.
void gpioExtiLineConfig | ( | uint8_t | portsrc, |
uint8_t | pinsrc | ||
) |
Definition at line 88 of file drv_gpio.c.
void gpioInit | ( | GPIO_TypeDef * | gpio, |
gpio_config_t * | config | ||
) |
Definition at line 56 of file drv_gpio.c.
void gpioPinRemapConfig | ( | uint32_t | remap, |
bool | enable | ||
) |
Definition at line 103 of file drv_gpio.c.