Difference between revisions of "UART Console"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== PlayStation TV UART0 location == | == PlayStation TV UART0 location == | ||
[[File:Pstv_uart0.png]] | [[File:Pstv_uart0.png]] | ||
+ | |||
+ | == UART Initialization == | ||
+ | <source lang="c"> | ||
+ | ScePervasiveForDriver_EFD084D8(uart_bus); // Turn on clock | ||
+ | ScePervasiveForDriver_A7CE7DCC(uart_bus); // Out of reset | ||
+ | /* | ||
+ | * Use UART bus | ||
+ | * ... | ||
+ | */ | ||
+ | ScePervasiveForDriver_788B6C61(uart_bus); // Put to reset | ||
+ | ScePervasiveForDriver_18DD8043(uart_bus); // Turn off clock | ||
+ | </source> |
Revision as of 12:29, 10 July 2017
The UART0 is a debugging console. The logic level is 1.8V.
PlayStation TV UART0 location
UART Initialization
ScePervasiveForDriver_EFD084D8(uart_bus); // Turn on clock
ScePervasiveForDriver_A7CE7DCC(uart_bus); // Out of reset
/*
* Use UART bus
* ...
*/
ScePervasiveForDriver_788B6C61(uart_bus); // Put to reset
ScePervasiveForDriver_18DD8043(uart_bus); // Turn off clock