Commit Graph

529 Commits

Author SHA1 Message Date
NIIBE Yutaka
5d344acad9 usb driver: I/O access style fix. 2019-04-17 15:07:12 +09:00
NIIBE Yutaka
06eef36868 usart: Fix smartcard communication. Only ignoring echo back. 2019-04-15 12:06:57 +09:00
NIIBE Yutaka
ca06df793a Add example-usart, which works well with ST Nucleo L432. 2019-04-12 20:20:16 +09:00
NIIBE Yutaka
92de60e5f2 Fix struct usart member mistake. Add example-usart. 2019-04-12 20:05:35 +09:00
NIIBE Yutaka
61c0edcc96 Add USART driver for STM32L. 2019-04-12 17:28:41 +09:00
NIIBE Yutaka
7b129cd50f Factor out USART routines. 2019-04-12 17:08:51 +09:00
NIIBE Yutaka
f237314ebf Rename _PHR_ (as peripheral) to specific bus (AHB, APB, etc.). 2019-04-12 10:45:12 +09:00
NIIBE Yutaka
52efc84f5c Now, example-led works fine with -mcortex-m4. 2019-04-12 10:30:53 +09:00
NIIBE Yutaka
5a326eee54 Example-led works fine with -mcpu=cortex-m3. 2019-04-11 17:11:47 +09:00
NIIBE Yutaka
054950bc9a Try STM Nucleo L432 LED. 2019-04-11 15:36:51 +09:00
NIIBE Yutaka
e5e46b5de5 Add mcu/*stm32l4. 2019-04-11 15:34:57 +09:00
NIIBE Yutaka
8b9d2c007a Add comment of usb_cable_config. 2019-04-11 13:48:26 +09:00
NIIBE Yutaka
5a6910a45b Adding STM32L432 support for USART (not yet USB, ADC, Flash, etc.). 2019-04-11 11:08:17 +09:00
NIIBE Yutaka
f8880aafec Coding style fix for SYST registers. 2019-04-11 09:08:33 +09:00
NIIBE Yutaka
681a0055e4 Rename clk_gpio_init-stm32f.c. 2019-04-10 16:17:19 +09:00
NIIBE Yutaka
69a7960876 Start experiment with STM32L432. 2019-04-10 12:39:07 +09:00
NIIBE Yutaka
7f77e5a13d Use STM32F10X_HD. 2019-04-10 12:38:45 +09:00
NIIBE Yutaka
bf585aba18 Use 9600 bps for BSCARD. 2019-04-09 13:35:59 +09:00
NIIBE Yutaka
bf7afa7348 usart: Support busy-wait in usart_block_sendrecv.
chopstx_poll is heavy.
2019-04-09 10:43:53 +09:00
NIIBE Yutaka
7f4eae6c56 Modify the loop of usart_block_sendrecv. 2019-04-09 08:51:23 +09:00
NIIBE Yutaka
8c045a6b8d usart: New API for block send-recv. 2019-04-08 11:49:13 +09:00
NIIBE Yutaka
ac026cc501 St Nucleo 32: Enable AFIO clock. 2019-04-02 13:39:29 +09:00
NIIBE Yutaka
8d7106d992 Change internal function name of USART driver. 2019-04-01 21:18:03 +09:00
NIIBE Yutaka
2c0b1eee03 Fix gaurd time for 1 etu. 2019-04-01 15:33:07 +09:00
NIIBE Yutaka
83817af2d7 Enhancement for smartcard communication. 2019-03-30 19:27:53 +09:00
NIIBE Yutaka
339da2901c Fix typo. 2019-03-29 16:08:30 +09:00
NIIBE Yutaka
06130d071b Add read with timeout for USART driver. 2019-03-29 11:53:41 +09:00
NIIBE Yutaka
02ca3a6cd5 Fix typo in copyright notice. 2019-03-26 18:18:39 +09:00
NIIBE Yutaka
aeea3c31f8 Version 1.14. release/1.14 2019-03-02 08:48:11 +09:00
NIIBE Yutaka
91dbfaf6b7 usart: SCEN should be configured after CR1 enabled. 2019-03-01 22:22:25 +09:00
NIIBE Yutaka
304441d393 usart: usart_config should be called by application. 2019-03-01 20:02:15 +09:00
NIIBE Yutaka
4780da5b5b Parity error enabled when parity is in use. 2019-03-01 20:01:43 +09:00
NIIBE Yutaka
a4aa99f772 Add smartcard interface support for ST Nucleo Board. 2019-02-28 22:35:55 +09:00
NIIBE Yutaka
3315435579 Fix unsigned-ness of MASK_MODE. 2019-02-25 17:00:42 +09:00
NIIBE Yutaka
bd330d81c3 Add comment for eventflag. 2019-02-22 14:00:44 +09:00
NIIBE Yutaka
078c8db5d7 Minor code-cleanup for priority inheritance. 2019-02-22 09:52:28 +09:00
NIIBE Yutaka
53e4d1a371 Add usart modes. 2019-02-21 16:44:01 +09:00
NIIBE Yutaka
2b18685cbf Use "System Control Block" instead of "System Control Registers". 2018-12-29 09:33:19 +09:00
NIIBE Yutaka
b6c90e3df4 Version 1.13. release/1.13 2018-12-19 12:52:26 +09:00
NIIBE Yutaka
4d4f82fd06 Update copyright notice. 2018-12-19 12:47:20 +09:00
NIIBE Yutaka
1ef6256784 Fix calculation of ticks remained. 2018-12-08 10:06:33 +09:00
NIIBE Yutaka
1400e677e3 Change behavior of chopstx_poll to correctly update *USEC_P. 2018-12-07 18:01:39 +09:00
NIIBE Yutaka
39683dbc5f Version 1.12. release/1.12 2018-11-12 14:09:25 +09:00
NIIBE Yutaka
fd98c5e162 ackbtn driver: Add possible FST-01 and FST-01G support. 2018-11-12 14:06:13 +09:00
NIIBE Yutaka
1369361e59 Add eventflag_set_mask, removing eventflag_wait_all. 2018-11-09 20:49:39 +09:00
NIIBE Yutaka
2992b894e0 Add eventflag_wait_all. 2018-11-09 16:04:42 +09:00
NIIBE Yutaka
fffb8aa3b3 Version 1.11. release/1.11 2018-10-02 09:58:45 +09:00
NIIBE Yutaka
0ed2e95ea2 Fix ackbtn clearing the edge detector. 2018-10-01 12:56:41 +09:00
NIIBE Yutaka
02aa678d4c Fix interrupt handling. 2018-10-01 10:10:09 +09:00
NIIBE Yutaka
d25cee5040 Version 1.10. release/1.10 2018-09-29 11:03:32 +09:00