1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/doccheck/generic_exclude_patterns
bors[bot] 718e4a8340
Merge #16782 #19201
16782: drivers/mfrc522: add new driver r=benpicco a=HendrikVE

### Contribution description

This PR adds support for the MFRC522. It is quite common in the Arduino world and it is quite cheap. The driver connects to the MFRC522 via SPI and is heavily based on the Arduino driver available [here](https://github.com/miguelbalboa/rfid). Basically it was ported, but with several improvements in readability and documentation.

### Testing procedure

The given (manual) test provides single commands for some driver functions.

19201: cpu/gd32v: add periph_i2c support r=benpicco a=gschorcht

### Contribution description

This PR provides the `periph_i2c` support and is one of a bunch of PRs that complete the peripheral drivers for GD32VF103.

The driver is a modified version of the driver for STM32F1 with some changes that were necessary to get it working on GD32V. As  for STM32F1, the driver is using polling instead of interrupts for now. It will be implemented interrupt-driven later.

### Testing procedure

`tests/periph_i2c` as well as a test with any I2C sensor should work. The driver was tested with `tests/driver_l3gxxxx` and `tests/driver_bmp180`.

### Issues/PRs references


Co-authored-by: Hendrik van Essen <hendrik.ve@fu-berlin.de>
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-01-31 23:15:41 +00:00

66 lines
3.6 KiB
Plaintext

warning: Member AT86RF2XX_PARAM_CS \(macro definition\) of
warning: Member AT86RF2XX_PARAM_INT \(macro definition\) of
warning: Member AT86RF2XX_PARAM_RESET \(macro definition\) of
warning: Member AT86RF2XX_PARAM_SLEEP \(macro definition\) of
warning: Member AT86RF2XX_PARAM_SPI \(macro definition\) of
warning: Member AT86RF2XX_PARAM_SPI_CLK \(macro definition\) of
warning: Member BTN[0-9]_INT_FLANK \(macro definition\) of
warning: Member BTN[0-9]_MASK \(macro definition\) of
warning: Member BTN[0-9]_MODE \(macro definition\) of
warning: Member BTN[0-9]_PIN \(macro definition\) of
warning: Member BTN[0-9]_PORT \(macro definition\) of
warning: Member BTN[0-9]_PRESSED \(macro definition\) of
warning: Member BTN[0-9]_RELEASED \(macro definition\) of
warning: Member FXOS8700_PARAM_ADDR \(macro definition\) of
warning: Member FXOS8700_PARAM_I2C \(macro definition\) of
warning: Member FXOS8700_PARAM_RENEW_INTERVAL \(macro definition\) of
warning: Member FXOS8700_REG_[A-Z0-9_]* \(macro definition\) of
warning: Member FXOS8700_SAUL_INFO \(macro definition\) of
warning: Member HDC1000_PARAM_ADDR \(macro definition\) of
warning: Member HDC1000_PARAM_I2C \(macro definition\) of
warning: Member HDC1000_PARAM_RENEW_INTERVAL \(macro definition\) of
warning: Member HDC1000_PARAM_RES \(macro definition\) of
warning: Member i2c_config\[\] \(variable\) of
warning: Member I2C_NUMOF \(macro definition\) of
warning: Member LED[0-9]_ENABLE_PORT \(macro definition\) of
warning: Member LED[0-9]_IS_INVERTED \(macro definition\) of
warning: Member LED[0-9]_MASK \(macro definition\) of
warning: Member LED[0-9]_MODE \(macro definition\) of
warning: Member LED[0-9]_NAME \(macro definition\) of
warning: Member LED[0-9]_OFF \(macro definition\) of
warning: Member LED[0-9]_ON \(macro definition\) of
warning: Member LED[0-9]_PIN \(macro definition\) of
warning: Member LED[0-9]_PIN_NUM \(macro definition\) of
warning: Member LED[0-9]_PORT \(macro definition\) of
warning: Member LED[0-9]_PORT_NUM \(macro definition\) of
warning: Member LED[0-9]_TOGGLE \(macro definition\) of
warning: Member PIR_PARAM_ACTIVE_HIGH \(macro definition\) of
warning: Member PIR_PARAM_GPIO \(macro definition\) of
warning: Member PIR_SAUL_INFO \(macro definition\) of
warning: Member PULSE_COUNTER_GPIO \(macro definition\) of
warning: Member PULSE_COUNTER_GPIO_FLANK \(macro definition\) of
warning: Member PULSE_COUNTER_SAUL_INFO \(macro definition\) of
warning: Member pwm_config\[\] \(variable\) of
warning: Member PWM_NUMOF \(macro definition\) of
warning: Member RTT_FREQUENCY \(macro definition\) of
warning: Member RTT_MAX_FREQUENCY \(macro definition\) of
warning: Member SHT1X_PARAMS \(macro definition\) of
warning: Member SHT1X_PARAM_[A-Z0-9_]* \(macro definition\) of
warning: Member SHT1X_SAULINFO \(macro definition\) of
warning: Member TIMER_[0-9]_IRQN \(macro definition\) of
warning: Member TIMER_NUMOF \(macro definition\) of
warning: Member timer_config\[\] \(variable\) of
warning: Member TMP00X_PARAM_ADDR \(macro definition\) of
warning: Member TMP00X_PARAM_I2C \(macro definition\) of
warning: Member TMP00X_PARAM_RATE \(macro definition\) of
warning: Member UART_[0-9]_IRQN \(macro definition\) of
warning: Member UART_NUMOF \(macro definition\) of
warning: Member uart_config\[\] \(variable\) of
warning: Member XTIMER_BACKOFF \(macro definition\) of
warning: Member XTIMER_CHAN \(macro definition\) of
warning: Member XTIMER_DEV \(macro definition\) of
warning: Member XTIMER_HZ \(macro definition\) of
warning: Member XTIMER_ISR_BACKOFF \(macro definition\) of
warning: Member XTIMER_OVERHEAD \(macro definition\) of
warning: Member XTIMER_WIDTH \(macro definition\) of