Skip to content

Commit

Permalink
v1.2: GPIO_ex: removed eActOut (replaced by eGPIOstate in sarmfsw lib)
Browse files Browse the repository at this point in the history
  • Loading branch information
SMFSW committed Mar 19, 2018
1 parent a0f8793 commit 226be9f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
22 changes: 18 additions & 4 deletions Doxyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Doxyfile 1.8.11
# Doxyfile 1.8.13

# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
Expand Down Expand Up @@ -246,7 +246,7 @@ TCL_SUBST =
# members will be omitted, etc.
# The default value is: NO.

OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_FOR_C = YES

# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
# Python sources only. Doxygen will then generate output that is more tailored
Expand Down Expand Up @@ -297,6 +297,15 @@ EXTENSION_MAPPING =

MARKDOWN_SUPPORT = YES

# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up
# to that level are automatically included in the table of contents, even if
# they do not have an id attribute.
# Note: This feature currently applies only to Markdown headings.
# Minimum value: 0, maximum value: 99, default value: 0.
# This tag requires that the tag MARKDOWN_SUPPORT is set to YES.

TOC_INCLUDE_HEADINGS = 0

# When enabled doxygen tries to link words that correspond to documented
# classes, or namespaces to their corresponding documentation. Such a link can
# be prevented in individual cases by putting a % sign in front of the word or
Expand Down Expand Up @@ -797,8 +806,8 @@ INPUT_ENCODING = UTF-8
# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f, *.for, *.tcl,
# *.vhd, *.vhdl, *.ucf, *.qsf, *.as and *.js.
# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08,
# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf.

FILE_PATTERNS = *.c \
*.cpp \
Expand Down Expand Up @@ -2382,6 +2391,11 @@ DIAFILE_DIRS =

PLANTUML_JAR_PATH =

# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a
# configuration file for plantuml.

PLANTUML_CFG_FILE =

# When using plantuml, the specified paths are searched for files specified by
# the !include statement in a plantuml block.

Expand Down
12 changes: 1 addition & 11 deletions GPIO_ex.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@
// *****************************************************************************
// Section: Types
// *****************************************************************************
/*!\enum ActOut
** \brief Logic output possible actions enumeration
**/
typedef enum ActOut {
Reset = 0, //!< Reset Output
Set, //!< Set Output
Toggle //!< Toggle Output
} eActOut;


/*!\struct GPIO_in
** \brief GPIO input structure
**/
Expand Down Expand Up @@ -102,7 +92,7 @@ FctERR str_GPIO_name(char * name, const GPIO_TypeDef * GPIOx, const uint16_t GPI
** \param[in] Act - type of write
** \return Nothing
**/
__INLINE void INLINE__ write_GPIO(GPIO_TypeDef * GPIOx, const uint16_t GPIO_Pin, const eActOut Act)
__INLINE void INLINE__ write_GPIO(GPIO_TypeDef * GPIOx, const uint16_t GPIO_Pin, const eGPIOState Act)
{
/* Check the parameters */
assert_param(IS_GPIO_PIN(GPIO_Pin));
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ See [release notes](https://github.com/SMFSW/HARMcksL/ReleaseNotes.md)

The MIT License (MIT)

Copyright (c) 2017 SMFSW (Sebastien Bizien)
Copyright (c) 2017-2018 SMFSW (Sebastien Bizien)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions Release Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ SOFTWARE.
* PWM: added case where duty cycle == scale in set_PWM_Duty_Scaled (to achieve real 100% duty cycles)
* PWM: check if scale is equal 0 in set_PWM_Duty_Scaled (to avoid Division by 0)
* GPIO_ex: added gpio logic and possible callbacks when input set / reset
* GPIO_ex: removed eActOut (replaced by eGPIOstate in sarmfsw lib)
* exceptions: removed erroneous dump_stack macro (functions will now be in stack_utils)
* exceptions: dumpStack renamed to print_exception_stack, now static to exceptions.c
* stack_utils: new module to get informations from global registers & stack
Expand Down

0 comments on commit 226be9f

Please sign in to comment.