Home
last modified time | relevance | path

Searched refs:baudrate (Results 1 – 25 of 37) sorted by relevance

12

/trusted-firmware-m-3.4.0/platform/ext/target/nordic_nrf/common/core/cmsis_drivers/
DDriver_USART.c48 nrf_uarte_baudrate_t baudrate; member
77 uart_resources->baudrate = uart_resources->initial_config->baudrate; in ARM_USARTx_Initialize()
192 nrf_uarte_baudrate_t baudrate = uart_resources->baudrate; in ARM_USARTx_Control() local
195 case 1200: baudrate = NRF_UARTE_BAUDRATE_1200; break; in ARM_USARTx_Control()
196 case 2400: baudrate = NRF_UARTE_BAUDRATE_2400; break; in ARM_USARTx_Control()
197 case 4800: baudrate = NRF_UARTE_BAUDRATE_4800; break; in ARM_USARTx_Control()
198 case 9600: baudrate = NRF_UARTE_BAUDRATE_9600; break; in ARM_USARTx_Control()
199 case 14400: baudrate = NRF_UARTE_BAUDRATE_14400; break; in ARM_USARTx_Control()
200 case 19200: baudrate = NRF_UARTE_BAUDRATE_19200; break; in ARM_USARTx_Control()
201 case 28800: baudrate = NRF_UARTE_BAUDRATE_28800; break; in ARM_USARTx_Control()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an524/device/source/
Ddevice_definition.c39 .baudrate = 0
54 .baudrate = 0
70 .baudrate = 0
85 .baudrate = 0
101 .baudrate = 0
116 .baudrate = 0
132 .baudrate = 0
147 .baudrate = 0
163 .baudrate = 0
178 .baudrate = 0
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/native_drivers/
Darm_uart_drv.c64 dev->data->baudrate = dev->cfg->default_baudrate; in arm_uart_init()
78 uint32_t baudrate) in arm_uart_set_baudrate() argument
84 if(baudrate == 0) { in arm_uart_set_baudrate()
93 bauddiv = (dev->data->system_clk / baudrate); in arm_uart_set_baudrate()
94 dev->data->baudrate = baudrate; in arm_uart_set_baudrate()
108 return dev->data->baudrate; in arm_uart_get_baudrate()
129 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in arm_uart_set_clock()
Duart_cmsdk_drv.c67 dev->data->baudrate = dev->cfg->default_baudrate; in uart_cmsdk_init()
81 uint32_t baudrate) in uart_cmsdk_set_baudrate() argument
87 if(baudrate == 0) { in uart_cmsdk_set_baudrate()
96 bauddiv = (dev->data->system_clk / baudrate); in uart_cmsdk_set_baudrate()
97 dev->data->baudrate = baudrate; in uart_cmsdk_set_baudrate()
111 return dev->data->baudrate; in uart_cmsdk_get_baudrate()
132 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in uart_cmsdk_set_clock()
Darm_uart_drv.h42 uint32_t baudrate; /*!< Baudrate */ member
91 uint32_t baudrate);
Duart_cmsdk_drv.h43 uint32_t baudrate; /*!< Baudrate */ member
92 uint32_t baudrate);
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/native_drivers/
Duart_cmsdk_drv.c50 dev->data->baudrate = dev->cfg->default_baudrate; in uart_cmsdk_init()
64 uint32_t baudrate) in uart_cmsdk_set_baudrate() argument
70 if(baudrate == 0) { in uart_cmsdk_set_baudrate()
79 bauddiv = (dev->data->system_clk / baudrate); in uart_cmsdk_set_baudrate()
80 dev->data->baudrate = baudrate; in uart_cmsdk_set_baudrate()
94 return dev->data->baudrate; in uart_cmsdk_get_baudrate()
115 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in uart_cmsdk_set_clock()
Duart_cmsdk_drv.h53 uint32_t baudrate; /*!< Baudrate */ member
102 uint32_t baudrate);
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/native_drivers/
Duart_cmsdk_drv.c67 dev->data->baudrate = dev->cfg->default_baudrate; in uart_cmsdk_init()
81 uint32_t baudrate) in uart_cmsdk_set_baudrate() argument
87 if(baudrate == 0) { in uart_cmsdk_set_baudrate()
96 bauddiv = (dev->data->system_clk / baudrate); in uart_cmsdk_set_baudrate()
97 dev->data->baudrate = baudrate; in uart_cmsdk_set_baudrate()
111 return dev->data->baudrate; in uart_cmsdk_get_baudrate()
132 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in uart_cmsdk_set_clock()
Duart_cmsdk_drv.h43 uint32_t baudrate; /*!< Baudrate */ member
92 uint32_t baudrate);
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an519/native_drivers/
Darm_uart_drv.c64 dev->data->baudrate = dev->cfg->default_baudrate; in arm_uart_init()
78 uint32_t baudrate) in arm_uart_set_baudrate() argument
84 if(baudrate == 0) { in arm_uart_set_baudrate()
93 bauddiv = (dev->data->system_clk / baudrate); in arm_uart_set_baudrate()
94 dev->data->baudrate = baudrate; in arm_uart_set_baudrate()
108 return dev->data->baudrate; in arm_uart_get_baudrate()
129 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in arm_uart_set_clock()
Darm_uart_drv.h42 uint32_t baudrate; /*!< Baudrate */ member
91 uint32_t baudrate);
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an521/native_drivers/
Darm_uart_drv.c64 dev->data->baudrate = dev->cfg->default_baudrate; in arm_uart_init()
78 uint32_t baudrate) in arm_uart_set_baudrate() argument
84 if(baudrate == 0) { in arm_uart_set_baudrate()
93 bauddiv = (dev->data->system_clk / baudrate); in arm_uart_set_baudrate()
94 dev->data->baudrate = baudrate; in arm_uart_set_baudrate()
108 return dev->data->baudrate; in arm_uart_get_baudrate()
129 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in arm_uart_set_clock()
Darm_uart_drv.h42 uint32_t baudrate; /*!< Baudrate */ member
91 uint32_t baudrate);
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an524/native_drivers/
Duart_cmsdk_drv.c67 dev->data->baudrate = dev->cfg->default_baudrate; in uart_cmsdk_init()
81 uint32_t baudrate) in uart_cmsdk_set_baudrate() argument
87 if(baudrate == 0) { in uart_cmsdk_set_baudrate()
96 bauddiv = (dev->data->system_clk / baudrate); in uart_cmsdk_set_baudrate()
97 dev->data->baudrate = baudrate; in uart_cmsdk_set_baudrate()
111 return dev->data->baudrate; in uart_cmsdk_get_baudrate()
132 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in uart_cmsdk_set_clock()
Duart_cmsdk_drv.h43 uint32_t baudrate; /*!< Baudrate */ member
92 uint32_t baudrate);
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/native_drivers/
Duart_cmsdk_drv.c67 dev->data->baudrate = dev->cfg->default_baudrate; in uart_cmsdk_init()
81 uint32_t baudrate) in uart_cmsdk_set_baudrate() argument
87 if(baudrate == 0) { in uart_cmsdk_set_baudrate()
96 bauddiv = (dev->data->system_clk / baudrate); in uart_cmsdk_set_baudrate()
97 dev->data->baudrate = baudrate; in uart_cmsdk_set_baudrate()
111 return dev->data->baudrate; in uart_cmsdk_get_baudrate()
132 p_uart->bauddiv = (dev->data->system_clk / dev->data->baudrate); in uart_cmsdk_set_clock()
Duart_cmsdk_drv.h43 uint32_t baudrate; /*!< Baudrate */ member
92 uint32_t baudrate);
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an519/retarget/
Dplatform_retarget_dev.c39 .baudrate = 0};
50 .baudrate = 0};
62 .baudrate = 0};
73 .baudrate = 0};
85 .baudrate = 0};
96 .baudrate = 0};
108 .baudrate = 0};
119 .baudrate = 0};
131 .baudrate = 0};
142 .baudrate = 0};
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an521/retarget/
Dplatform_retarget_dev.c39 .baudrate = 0};
50 .baudrate = 0};
62 .baudrate = 0};
73 .baudrate = 0};
85 .baudrate = 0};
96 .baudrate = 0};
108 .baudrate = 0};
119 .baudrate = 0};
131 .baudrate = 0};
142 .baudrate = 0};
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/device/source/
Ddevice_definition.c39 .baudrate = 0
54 .baudrate = 0
70 .baudrate = 0
85 .baudrate = 0
101 .baudrate = 0
116 .baudrate = 0
132 .baudrate = 0
147 .baudrate = 0
163 .baudrate = 0
178 .baudrate = 0
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/device/source/
Ddevice_definition.c39 .baudrate = 0
54 .baudrate = 0
70 .baudrate = 0
85 .baudrate = 0
101 .baudrate = 0
116 .baudrate = 0
132 .baudrate = 0
147 .baudrate = 0
163 .baudrate = 0
178 .baudrate = 0
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/device/source/
Dplatform_ns_device_definition.c36 .baudrate = 0
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/Native_Driver/
Duart_pl011_drv.c205 uint32_t clk, uint32_t baudrate) in _uart_pl011_set_baudrate() argument
209 /(SAMPLING_FACTOR*baudrate); in _uart_pl011_set_baudrate()
422 struct uart_pl011_dev_t* dev, uint32_t baudrate) in uart_pl011_set_baudrate() argument
435 if(baudrate == 0) { in uart_pl011_set_baudrate()
445 err = _uart_pl011_set_baudrate(p_uart, dev->data->uart_clk, baudrate); in uart_pl011_set_baudrate()
448 dev->data->baudrate = baudrate; in uart_pl011_set_baudrate()
460 return dev->data->baudrate; in uart_pl011_get_baudrate()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/native_drivers/
Duart_pl011_drv.c205 uint32_t clk, uint32_t baudrate) in _uart_pl011_set_baudrate() argument
209 /(SAMPLING_FACTOR*baudrate); in _uart_pl011_set_baudrate()
422 struct uart_pl011_dev_t* dev, uint32_t baudrate) in uart_pl011_set_baudrate() argument
435 if(baudrate == 0) { in uart_pl011_set_baudrate()
445 err = _uart_pl011_set_baudrate(p_uart, dev->data->uart_clk, baudrate); in uart_pl011_set_baudrate()
448 dev->data->baudrate = baudrate; in uart_pl011_set_baudrate()
460 return dev->data->baudrate; in uart_pl011_get_baudrate()

12