arm microcontroller course
play

ARM Microcontroller Course May 20, 2015 ARM Microcontroller Course - PowerPoint PPT Presentation

Timers Analog Peripherals HAL Shield ARM Microcontroller Course May 20, 2015 ARM Microcontroller Course Timers Analog Peripherals HAL Shield Table of Contents 1 Timers 2 Analog Peripherals 3 HAL 4 Shield ARM Microcontroller Course


  1. Timers Analog Peripherals HAL Shield ARM Microcontroller Course May 20, 2015 ARM Microcontroller Course

  2. Timers Analog Peripherals HAL Shield Table of Contents 1 Timers 2 Analog Peripherals 3 HAL 4 Shield ARM Microcontroller Course

  3. Timers Analog Peripherals HAL Shield Timers Timers can be used for: Counting ARM Microcontroller Course

  4. Timers Analog Peripherals HAL Shield Timers Timers can be used for: Counting PWM ARM Microcontroller Course

  5. Timers Analog Peripherals HAL Shield Timers Timers can be used for: Counting PWM Keeping time ARM Microcontroller Course

  6. Timers Analog Peripherals HAL Shield Timer internals ARM Microcontroller Course

  7. Timers Analog Peripherals HAL Shield Timer function ARM Microcontroller Course

  8. Timers Analog Peripherals HAL Shield Table of Contents 1 Timers 2 Analog Peripherals 3 HAL 4 Shield ARM Microcontroller Course

  9. Timers Analog Peripherals HAL Shield Analog Peripherals ADC Comparator Opamp Temperature Sensor ARM Microcontroller Course

  10. Timers Analog Peripherals HAL Shield ADC internals ARM Microcontroller Course

  11. Timers Analog Peripherals HAL Shield To use ADC: Turn on clock for ADC Turn on clock for GPIO of potentiometer pin Initialize the ADC Configure potentiometer pin Optional: turn on NVIC for ADC Turn on ADC ARM Microcontroller Course

  12. Timers Analog Peripherals HAL Shield Table of Contents 1 Timers 2 Analog Peripherals 3 HAL 4 Shield ARM Microcontroller Course

  13. Timers Analog Peripherals HAL Shield HAL Hardware Abstraction Layer API for peripherals ARM Microcontroller Course

  14. Timers Analog Peripherals HAL Shield HAL Hardware Abstraction Layer API for peripherals Handles: PPP HandleTypeDef ARM Microcontroller Course

  15. Timers Analog Peripherals HAL Shield HAL Hardware Abstraction Layer API for peripherals Handles: PPP HandleTypeDef Shared and system peripherals: GPIO, SYSTICK, NVIC, PWR, RCC and FLASH ARM Microcontroller Course

  16. Timers Analog Peripherals HAL Shield HAL Examples HAL_StatusTypeDef HAL_GPIO_Init (GPIO_TypeDef* GPIOx , GPIO_InitTypeDef *Init) { // GPIO initialization } // example of handle UART_HandleTypeDef uarthandle; uarthandle.Instance = UART1; HAL_UART_Init (& uarthandle); ARM Microcontroller Course

  17. Timers Analog Peripherals HAL Shield Table of Contents 1 Timers 2 Analog Peripherals 3 HAL 4 Shield ARM Microcontroller Course

  18. Timers Analog Peripherals HAL Shield Shield Potentiometer DAC over SPI 3 Buttons 3 LEDs 4 Captouch buttons Jack and BNC ARM Microcontroller Course

  19. Timers Analog Peripherals HAL Shield Material You can find all material on http://www.scintilla.utwente.nl/docs/cursus Make sure you download: The Updated Manual (0520) The Usermanual of the Nucleo-F411RE The Reference Manual of the STM32F411RE Optional: HAL document Programming Guide ARM Microcontroller Course

Recommend


More recommend