[M2351] Refine UART code

1. Replace SYS_ResetModule/CLK_SetModuleClock/CLK_EnableModuleClock/CLK_DisableModuleClock with TrustZone-aware versions.
2. Configure all UART to secure
3. Support asynchronous transfer
4. Remove sleep management code, which has been replaced with Sleep Manager.
pull/7302/head
ccli8 2018-03-08 13:56:42 +08:00
parent ebf53b9f64
commit dcfe1d4283
1 changed files with 281 additions and 331 deletions

File diff suppressed because it is too large Load Diff