GlobLib
HAL and API libraries for MCUs and hardware.
attiny13a_debug.h
Go to the documentation of this file.
1 #ifndef STM32F103C8_DEBUG_H
2 #define STM32F103C8_DEBUG_H
3 
30 #include <stdint.h>
31 #include <stdlib.h>
36 typedef enum{
37 
43 
52 
59 
62 
65 
66 
72 
76 
79 
82 
85 
88 }mcu_error;
89 
92 #endif
Error timer: Pulse too long.
Error clock: No error.
Error timer: Timer doesn&#39;t exist.
Error clock: Clock speed doesn&#39;t exist.
ERROR GPIO: Port doesn&#39;t exist.
ERROR I2C: Port doesn&#39;t exist.
Error IWDG: Period too long.
Error SPI: No error.
ERROR I2C: No Error.
Error FLASH: Page number out of bounds.
Error RTC: Invalid period specified.
ERROR GPIO: Pin doesn&#39;t exist.
Error RTC: No error.
Error USART: Baud rate not available.
ERROR GPIO: ISR EXTI line in use.
Error FLASH: No error.
ERROR I2C: Timeout during get()
Error SPI: Port doesn&#39;t exist.
ERROR I2C: Timeout during stop()
Error USART: Port doesn&#39;t exist.
Error ADC: Port doesn&#39;t exist with ADC.
ERROR I2C: Timeout during start()
ERROR I2C: Timeout during put()
Error USART: Parity option not available.
Error ADC: No ADC on pin.
Error ADC: No error.
ERROR MCU: Unknown error code.
ERROR GPIO: ISR trigger doesn&#39;t exist.
Error systick: No error.
Error USART: Interrupt option doesn&#39;t exist.
Error timer: Period too long / frequency too high.
Error systick: Timeout value is too short.
ERROR GPIO: No Error.
Error USART: Stop bits don&#39;t exist.
Error timer: No error.
Error timer: Channel doesn&#39;t exist.
Error IWDG: No error.
Error USART: Data frame not available.
Error USART: No Error.
mcu_error
Error enumerators for the Debug peripheral.