Il y avait des problèmes dans la libraire...
Fork of ST_FREQUENCY_DIVIDER by
drivers/FrequencyDivider.cpp@0:f11903264b5e, 2017-04-21 (annotated)
- Committer:
- davide.aliprandi@st.com
- Date:
- Fri Apr 21 10:22:24 2017 +0200
- Revision:
- 0:f11903264b5e
Added files.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
davide.aliprandi@st.com | 0:f11903264b5e | 1 | #include "drivers/FrequencyDivider.h" |
davide.aliprandi@st.com | 0:f11903264b5e | 2 | #include "stm_divider_api.h" |
davide.aliprandi@st.com | 0:f11903264b5e | 3 | |
davide.aliprandi@st.com | 0:f11903264b5e | 4 | FrequencyDivider::FrequencyDivider() |
davide.aliprandi@st.com | 0:f11903264b5e | 5 | { |
davide.aliprandi@st.com | 0:f11903264b5e | 6 | ST_Timer_Init(); |
davide.aliprandi@st.com | 0:f11903264b5e | 7 | } |
davide.aliprandi@st.com | 0:f11903264b5e | 8 | |
davide.aliprandi@st.com | 0:f11903264b5e | 9 | void FrequencyDivider::start(void) |
davide.aliprandi@st.com | 0:f11903264b5e | 10 | { |
davide.aliprandi@st.com | 0:f11903264b5e | 11 | ST_Timer_Start(); |
davide.aliprandi@st.com | 0:f11903264b5e | 12 | } |