This module contains error code definitions for all libraries.
More...
This module contains error code definitions for all libraries.
Each low level module has an error handling feature. The return values of setup and configuration functions can be checked with values set out in this module.
- Author
- Stuart Ianna
- Version
- 0.1
- Date
- October 2018
- Copyright
- GNU GPLv3
- Warning
- None
- Bug:
- None
- Verified Compilers
-
Error enumerators for the Debug peripheral.
These values are used to quantify errors which occur during configuration of each module.
Enumerator |
---|
E_GPIO_NOERROR |
ERROR GPIO: No Error.
|
E_GPIO_ISR |
ERROR GPIO: ISR EXTI line in use.
|
E_GPIO_PORT |
ERROR GPIO: Port doesn't exist.
|
E_GPIO_PIN |
ERROR GPIO: Pin doesn't exist.
|
E_GPIO_TRIGGER |
ERROR GPIO: ISR trigger doesn't exist.
|
E_MCU_UNDEFINED |
ERROR MCU: Unknown error code.
|
E_USART_NOERROR |
Error USART: No Error.
|
E_USART_NOPORT |
Error USART: Port doesn't exist.
|
E_USART_NOBAUD |
Error USART: Baud rate not available.
|
E_USART_NOSTOP |
Error USART: Stop bits don't exist.
|
E_USART_NODATA |
Error USART: Data frame not available.
|
E_USART_NOPARITY |
Error USART: Parity option not available.
|
E_USART_NOINT |
Error USART: Interrupt option doesn't exist.
|
E_I2C_NOERROR |
ERROR I2C: No Error.
|
E_I2C_PORT |
ERROR I2C: Port doesn't exist.
|
E_I2C_WRITE |
ERROR I2C: Timeout during put()
|
E_I2C_READ |
ERROR I2C: Timeout during get()
|
E_I2C_START |
ERROR I2C: Timeout during start()
|
E_I2C_STOP |
ERROR I2C: Timeout during stop()
|
E_CLOCK_NOERROR |
Error clock: No error.
|
E_CLOCK_NOSPEED |
Error clock: Clock speed doesn't exist.
|
E_SYSTICK_NOERROR |
Error systick: No error.
|
E_SYSTICK_TOOLONG |
Error systick: Timeout value is too short.
|
E_TIMER_NOERROR |
Error timer: No error.
|
E_TIMER_NOTIMER |
Error timer: Timer doesn't exist.
|
E_TIMER_NOCHANNEL |
Error timer: Channel doesn't exist.
|
E_TIMER_PERIOD |
Error timer: Period too long / frequency too high.
|
E_TIMER_PULSE |
Error timer: Pulse too long.
|
E_ADC_NOERROR |
Error ADC: No error.
|
E_ADC_PORT |
Error ADC: Port doesn't exist with ADC.
|
E_ADC_PIN |
Error ADC: No ADC on pin.
|
E_IWDG_NOERROR |
Error IWDG: No error.
|
E_IWDG_PERIOD |
Error IWDG: Period too long.
|
E_FLASH_NOERROR |
Error FLASH: No error.
|
E_FLASH_PAGE |
Error FLASH: Page number out of bounds.
|
E_RTC_NOERROR |
Error RTC: No error.
|
E_RTC_PRELOAD |
Error RTC: Invalid period specified.
|
E_SPI_NOERROR |
Error SPI: No error.
|
E_SPI_PORT |
Error SPI: Port doesn't exist.
|
Definition at line 36 of file attiny13a_debug.h.