#include <usart.hpp>
|
| using | resources = typelist< typename base_type::resources, typename mpl::usart_gpio_rx_resources< gpio_rx_type, gpio_alt_func_num >::type, typename mpl::usart_gpio_tx_resources< gpio_tx_type, gpio_tx_speed, gpio_alt_func_num >::type > |
| |
| typedef USART< usart_no > | USARTx |
| |
| typedef irq::usart< usart_no > | irq |
| |
| typedef rcc_usart_clock_resources< usart_no > | resources |
| |
| typedef regval< typename USARTx::CR1::RE, 1 > | enable_rx |
| |
| typedef regval< typename USARTx::CR1::TE, 1 > | enable_tx |
| |
| typedef typename baud_rate_impl< value >::type | baud_rate |
| |
| typedef typename word_length_impl< value >::type | word_length |
| |
| typedef typename stop_bits_impl< a, b >::type | stop_bits |
| |
| typedef regval< typename USARTx::CR2::CLKEN, 1 > | clock_enable |
| |
| typedef regval< typename USARTx::CR2::LBCL, 1 > | last_bit_clock_pulse |
| |
◆ resources
template<unsigned usart_no, typename system_clock_type , typename gpio_rx_type , typename gpio_tx_type , freq_t gpio_tx_speed = mhz(50)>
| using mptl::usart< usart_no, system_clock_type, gpio_rx_type, gpio_tx_type, gpio_tx_speed >::resources = typelist< typename base_type::resources, typename mpl::usart_gpio_rx_resources< gpio_rx_type, gpio_alt_func_num >::type, typename mpl::usart_gpio_tx_resources< gpio_tx_type, gpio_tx_speed, gpio_alt_func_num >::type > |
The documentation for this class was generated from the following file:
- arch/arm/cortex/stm32/f4/include/arch/usart.hpp