A31G11x F/W Packages  2.5.0
ABOV Cortex-M0+ Core based MCUs Integrated Driver
Functions | Variables
A31G11x_hal_debug_frmwrk.c File Reference

Contains all functions support for debug_frmwrk firmware library on A31G11x. More...

Go to the source code of this file.

Functions

int fputc (int ch, FILE *f)
 Puts a character to file. More...
 
void UARTPutChar (UARTn_Type *UARTx, uint8_t ch)
 Puts a character to UART port. More...
 
uint8_t UARTGetChar (UARTn_Type *UARTx)
 Get a character to UART port. More...
 
uint8_t UARTGetCh (UARTn_Type *UARTx, uint8_t *ch)
 Get a character to UART port. More...
 
void UARTPuts (UARTn_Type *UARTx, const void *str)
 Puts a string to UART port. More...
 
void UARTPuts_ (UARTn_Type *UARTx, const void *str)
 Puts a string to UART port and print new line. More...
 
void UARTPutDec (UARTn_Type *UARTx, uint8_t decnum)
 Puts a decimal number to UART port. More...
 
void UARTPutDec16 (UARTn_Type *UARTx, uint16_t decnum)
 Puts a decimal number to UART port. More...
 
void UARTPutDec32 (UARTn_Type *UARTx, uint32_t decnum)
 Puts a decimal number to UART port. More...
 
void UARTPutHex (UARTn_Type *UARTx, uint8_t hexnum)
 Puts a hex number to UART port. More...
 
void UARTPutHex16 (UARTn_Type *UARTx, uint16_t hexnum)
 Puts a hex number to UART port. More...
 
void UARTPutHex32 (UARTn_Type *UARTx, uint32_t hexnum)
 Puts a hex number to UART port. More...
 
void cprintf (const char *format,...)
 print function that supports format as same as printf() function of <stdio.h> library More...
 
void debug_frmwrk_init (void)
 Initializes Debug Framework through initializing UARTn. More...
 
uint8_t getstring (void)
 Get a character to UART port. More...
 

Variables

void(* _db_msg )(UARTn_Type *UARTx, const void *s)
 
void(* _db_msg_ )(UARTn_Type *UARTx, const void *s)
 
void(* _db_char )(UARTn_Type *UARTx, uint8_t ch)
 
void(* _db_dec )(UARTn_Type *UARTx, uint8_t decn)
 
void(* _db_dec_16 )(UARTn_Type *UARTx, uint16_t decn)
 
void(* _db_dec_32 )(UARTn_Type *UARTx, uint32_t decn)
 
void(* _db_hex )(UARTn_Type *UARTx, uint8_t hexn)
 
void(* _db_hex_16 )(UARTn_Type *UARTx, uint16_t hexn)
 
void(* _db_hex_32 )(UARTn_Type *UARTx, uint32_t hexn)
 
uint8_t(* _db_get_char )(UARTn_Type *UARTx)
 
uint8_t(* _db_get_ch )(UARTn_Type *UARTx, uint8_t *ch)
 

Detailed Description

Contains all functions support for debug_frmwrk firmware library on A31G11x.

Version
1.00
Date
2020-05-29
Author
ABOV Application Team

Copyright(C) 2019, ABOV Semiconductor All rights reserved.

ABOV Disclaimer

IMPORTANT NOTICE ? PLEASE READ CAREFULLY ABOV Semiconductor ("ABOV") reserves the right to make changes, corrections, enhancements, modifications, and improvements to ABOV products and/or to this document at any time without notice. ABOV does not give warranties as to the accuracy or completeness of the information included herein. Purchasers should obtain the latest relevant information of ABOV products before placing orders. Purchasers are entirely responsible for the choice, selection, and use of ABOV products and ABOV assumes no liability for application assistance or the design of purchasers' products. No license, express or implied, to any intellectual property rights is granted by ABOV herein. ABOV disclaims all express and implied warranties and shall not be responsible or liable for any injuries or damages related to use of ABOV products in such unauthorized applications. ABOV and the ABOV logo are trademarks of ABOV. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces the information previously supplied in any former versions of this document. 2020 ABOV Semiconductor All rights reserved

Definition in file A31G11x_hal_debug_frmwrk.c.

Function Documentation

◆ cprintf()

void cprintf ( const char *  format,
  ... 
)

print function that supports format as same as printf() function of <stdio.h> library

Parameters
[in]formatformatted string to be print
Returns
None

Definition at line 329 of file A31G11x_hal_debug_frmwrk.c.

330 {
331  char buffer[512 + 1];
332  va_list vArgs;
333 
334  va_start( vArgs, format );
335  vsprintf( ( char* )buffer, ( char const* )format, vArgs );
336  va_end( vArgs );
337 
338  _DBG( buffer );
339 }

◆ debug_frmwrk_init()

void debug_frmwrk_init ( void  )

Initializes Debug Framework through initializing UARTn.

Parameters
None
Returns
None

Definition at line 346 of file A31G11x_hal_debug_frmwrk.c.

347 {
348  UARTn_CFG_Type UARTn_Config;
349 
350 #if (USED_UART_DEBUG_PORT == 0)
351 
352  // Initialize UART0 pin connect
353  HAL_GPIO_ConfigOutput( ( Pn_Type* )PB, 5, ALTERN_FUNC ); // PB5 SWDIO 0: SEG20 1: RXD0 2: SWDIO 3: ---- 4: ----
354  HAL_GPIO_ConfigFunction( ( Pn_Type* )PB, 5, AFSRx_AF1 );
355 
356  HAL_GPIO_ConfigOutput( ( Pn_Type* )PB, 4, ALTERN_FUNC ); // PB4 SWCLK 0: SEG21 1: TXD0 2: SWCLK 3: ---- 4: ----
357  HAL_GPIO_ConfigFunction( ( Pn_Type* )PB, 4, AFSRx_AF1 );
358 
359 #elif (USED_UART_DEBUG_PORT == 1)
360 
361  // Initialize UART1 pin connect
362  HAL_GPIO_ConfigOutput( ( Pn_Type* )PB, 7, ALTERN_FUNC ); // PB7 0: SEG18 1: RXD1 2: ---- 3: ---- 4: ----
363  HAL_GPIO_ConfigFunction( ( Pn_Type* )PB, 7, AFSRx_AF1 );
364 
365  HAL_GPIO_ConfigOutput( ( Pn_Type* )PB, 6, ALTERN_FUNC ); // PB6 0: SEG19 1: TXD1 2: ---- 3: ---- 4: ----
366  HAL_GPIO_ConfigFunction( ( Pn_Type* )PB, 6, AFSRx_AF1 );
367 
368 #endif
369 
370  /* Initialize UART Configuration parameter structure to default state:
371  * Baudrate = 38400bps
372  * 8 data bit
373  * no parity
374  * 1 stop bit
375  */
376  HAL_UART_ConfigStructInit( &UARTn_Config );
377  UARTn_Config.Baudrate = 38400;
378 
379  // Initialize DEBUG_UART_PORT peripheral with given to corresponding parameter
380  HAL_UART_Init( ( UARTn_Type* )DEBUG_UART_PORT, &UARTn_Config );
381 
382  _db_msg = UARTPuts;
393 }
void(* _db_hex_16)(UARTn_Type *UARTx, uint16_t hexn)
void(* _db_dec_32)(UARTn_Type *UARTx, uint32_t decn)
void UARTPutDec16(UARTn_Type *UARTx, uint16_t decnum)
Puts a decimal number to UART port.
void UARTPutDec(UARTn_Type *UARTx, uint8_t decnum)
Puts a decimal number to UART port.
void(* _db_dec_16)(UARTn_Type *UARTx, uint16_t decn)
HAL_Status_Type HAL_UART_ConfigStructInit(UARTn_CFG_Type *UARTn_Config)
Fills each UARTn_Config member with its default value:
uint8_t UARTGetCh(UARTn_Type *UARTx, uint8_t *ch)
Get a character to UART port.
void(* _db_msg_)(UARTn_Type *UARTx, const void *s)
void(* _db_hex)(UARTn_Type *UARTx, uint8_t hexn)
void HAL_GPIO_ConfigOutput(Pn_Type *Px, uint8_t pin_no, PCU_PORT_MODE dir_type)
Configure pin mode.
void(* _db_msg)(UARTn_Type *UARTx, const void *s)
void HAL_GPIO_ConfigFunction(Pn_Type *Px, uint8_t pin_no, uint32_t func)
Configure pin function.
void UARTPutHex(UARTn_Type *UARTx, uint8_t hexnum)
Puts a hex number to UART port.
void UARTPutHex32(UARTn_Type *UARTx, uint32_t hexnum)
Puts a hex number to UART port.
void UARTPutDec32(UARTn_Type *UARTx, uint32_t decnum)
Puts a decimal number to UART port.
void UARTPuts(UARTn_Type *UARTx, const void *str)
Puts a string to UART port.
void(* _db_dec)(UARTn_Type *UARTx, uint8_t decn)
uint8_t(* _db_get_ch)(UARTn_Type *UARTx, uint8_t *ch)
void UARTPuts_(UARTn_Type *UARTx, const void *str)
Puts a string to UART port and print new line.
uint8_t UARTGetChar(UARTn_Type *UARTx)
Get a character to UART port.
void(* _db_char)(UARTn_Type *UARTx, uint8_t ch)
void UARTPutHex16(UARTn_Type *UARTx, uint16_t hexnum)
Puts a hex number to UART port.
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.
HAL_Status_Type HAL_UART_Init(UARTn_Type *UARTx, UARTn_CFG_Type *UARTn_Config)
Initialize the UARTn peripheral with the specified parameters.
void(* _db_hex_32)(UARTn_Type *UARTx, uint32_t hexn)
uint8_t(* _db_get_char)(UARTn_Type *UARTx)

References _db_char, _db_dec, _db_dec_16, _db_dec_32, _db_get_ch, _db_get_char, _db_hex, _db_hex_16, _db_hex_32, _db_msg, _db_msg_, ALTERN_FUNC, UARTn_CFG_Type::Baudrate, HAL_GPIO_ConfigFunction(), HAL_GPIO_ConfigOutput(), HAL_UART_ConfigStructInit(), HAL_UART_Init(), UARTGetCh(), UARTGetChar(), UARTPutChar(), UARTPutDec(), UARTPutDec16(), UARTPutDec32(), UARTPutHex(), UARTPutHex16(), UARTPutHex32(), UARTPuts(), and UARTPuts_().

Here is the call graph for this function:

◆ fputc()

int fputc ( int  ch,
FILE *  f 
)

Puts a character to file.

Parameters
[in]chCharacter to put
[in]fPointer to file
Returns
character
Note
if you use IAR EWARM, select Full as Options/General Options/Library Configuration/Library.

Definition at line 86 of file A31G11x_hal_debug_frmwrk.c.

87 {
88  while( HAL_UART_CheckBusy( ( UARTn_Type* )DEBUG_UART_PORT ) );
89  HAL_UART_TransmitByte( ( UARTn_Type* )DEBUG_UART_PORT, ch );
90 
91  return( ch );
92 }
FlagStatus HAL_UART_CheckBusy(UARTn_Type *UARTx)
Check whether if UART is busy or not.
HAL_Status_Type HAL_UART_TransmitByte(UARTn_Type *UARTx, uint8_t Data)
Transmit a single data through UART peripheral.

References HAL_UART_CheckBusy(), and HAL_UART_TransmitByte().

Here is the call graph for this function:

◆ getstring()

uint8_t getstring ( void  )

Get a character to UART port.

Parameters
None
Returns
character value that returned

Definition at line 400 of file A31G11x_hal_debug_frmwrk.c.

401 {
402  uint8_t ch;
403 
404  ch = UARTGetChar( ( UARTn_Type* )UART1 );
405 
406  if( ch > 0 )
407  {
408  if( InCount < 80 )
409  {
410  if( InCount == 0 && ch < 0x20 )
411  {
412  InData[0] = 0;
413  return ch;
414  }
415 
416  UARTPutChar( ( UARTn_Type* )UART1, ch );
417  if( ch == ASCII_BACKSPACE )
418  {
419  InCount--;
420  return ch;
421  }
422 
423  if( ch == ASCII_CARRIAGE_RETURN )
424  {
425  InData[InCount] = 0;
426  InFlag = 1;
427  return ch;
428  }
429 
430  InData[InCount++] = ch;
431  }
432  }
433 
434  return 0;
435 }
int InFlag
char InData[80]
uint8_t UARTGetChar(UARTn_Type *UARTx)
Get a character to UART port.
int InCount
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References InCount, InData, InFlag, UARTGetChar(), and UARTPutChar().

Here is the call graph for this function:

◆ UARTGetCh()

uint8_t UARTGetCh ( UARTn_Type *  UARTx,
uint8_t *  ch 
)

Get a character to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]chCharacter to get
Returns
if getting value, return '1'. if not, return '0'

Definition at line 134 of file A31G11x_hal_debug_frmwrk.c.

135 {
136  if( !( UARTx->LSR & UARTn_LSR_RDR ) )
137  {
138  *ch = 0;
139  return( 0 );
140  }
141  else
142  {
143  *ch = HAL_UART_ReceiveByte( UARTx );
144  return( 1 );
145  }
146 }
uint8_t HAL_UART_ReceiveByte(UARTn_Type *UARTx)
Receive a single data from UART peripheral.

References HAL_UART_ReceiveByte().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTGetChar()

uint8_t UARTGetChar ( UARTn_Type *  UARTx)

Get a character to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
Returns
character value that returned

Definition at line 116 of file A31G11x_hal_debug_frmwrk.c.

117 {
118  uint8_t tmp = 0;
119 
120  HAL_UART_Receive( UARTx, &tmp, 1, BLOCKING );
121 
122  return( tmp );
123 }
uint32_t HAL_UART_Receive(UARTn_Type *UARTx, uint8_t *rxbuf, uint32_t buflen, TRANSFER_BLOCK_Type flag)
Receive a block of data via UART peripheral.

References BLOCKING, and HAL_UART_Receive().

Referenced by debug_frmwrk_init(), and getstring().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPutChar()

void UARTPutChar ( UARTn_Type *  UARTx,
uint8_t  ch 
)

Puts a character to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]chCharacter to put
Returns
None

Definition at line 104 of file A31G11x_hal_debug_frmwrk.c.

105 {
106  HAL_UART_Transmit( UARTx, &ch, 1, BLOCKING );
107 }
uint32_t HAL_UART_Transmit(UARTn_Type *UARTx, uint8_t *txbuf, uint32_t buflen, TRANSFER_BLOCK_Type flag)
Send a block of data via UART peripheral.

References BLOCKING, and HAL_UART_Transmit().

Referenced by debug_frmwrk_init(), getstring(), UARTPutDec(), UARTPutDec16(), UARTPutDec32(), UARTPutHex(), UARTPutHex16(), UARTPutHex32(), and UARTPuts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPutDec()

void UARTPutDec ( UARTn_Type *  UARTx,
uint8_t  decnum 
)

Puts a decimal number to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]decnumDecimal number (8-bit long)
Returns
None

Definition at line 191 of file A31G11x_hal_debug_frmwrk.c.

192 {
193  uint8_t c1 = decnum % 10;
194  uint8_t c2 = ( decnum / 10 ) % 10;
195  uint8_t c3 = ( decnum / 100 ) % 10;
196 
197  UARTPutChar( UARTx, '0' + c3 );
198  UARTPutChar( UARTx, '0' + c2 );
199  UARTPutChar( UARTx, '0' + c1 );
200 }
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References UARTPutChar().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPutDec16()

void UARTPutDec16 ( UARTn_Type *  UARTx,
uint16_t  decnum 
)

Puts a decimal number to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]decnumDecimal number (8-bit long)
Returns
None

Definition at line 211 of file A31G11x_hal_debug_frmwrk.c.

212 {
213  uint8_t c1 = decnum % 10;
214  uint8_t c2 = ( decnum / 10 ) % 10;
215  uint8_t c3 = ( decnum / 100 ) % 10;
216  uint8_t c4 = ( decnum / 1000 ) % 10;
217  uint8_t c5 = ( decnum / 10000 ) % 10;
218 
219  UARTPutChar( UARTx, '0' + c5 );
220  UARTPutChar( UARTx, '0' + c4 );
221  UARTPutChar( UARTx, '0' + c3 );
222  UARTPutChar( UARTx, '0' + c2 );
223  UARTPutChar( UARTx, '0' + c1 );
224 }
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References UARTPutChar().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPutDec32()

void UARTPutDec32 ( UARTn_Type *  UARTx,
uint32_t  decnum 
)

Puts a decimal number to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]decnumDecimal number (8-bit long)
Returns
None

Definition at line 235 of file A31G11x_hal_debug_frmwrk.c.

236 {
237  uint8_t c1 = decnum % 10;
238  uint8_t c2 = ( decnum / 10 ) % 10;
239  uint8_t c3 = ( decnum / 100 ) % 10;
240  uint8_t c4 = ( decnum / 1000 ) % 10;
241  uint8_t c5 = ( decnum / 10000 ) % 10;
242  uint8_t c6 = ( decnum / 100000 ) % 10;
243  uint8_t c7 = ( decnum / 1000000 ) % 10;
244  uint8_t c8 = ( decnum / 10000000 ) % 10;
245  uint8_t c9 = ( decnum / 100000000 ) % 10;
246  uint8_t c10 = ( decnum / 1000000000 ) % 10;
247 
248  UARTPutChar( UARTx, '0' + c10 );
249  UARTPutChar( UARTx, '0' + c9 );
250  UARTPutChar( UARTx, '0' + c8 );
251  UARTPutChar( UARTx, '0' + c7 );
252  UARTPutChar( UARTx, '0' + c6 );
253  UARTPutChar( UARTx, '0' + c5 );
254  UARTPutChar( UARTx, '0' + c4 );
255  UARTPutChar( UARTx, '0' + c3 );
256  UARTPutChar( UARTx, '0' + c2 );
257  UARTPutChar( UARTx, '0' + c1 );
258 }
char c8
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References UARTPutChar().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPutHex()

void UARTPutHex ( UARTn_Type *  UARTx,
uint8_t  hexnum 
)

Puts a hex number to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]hexnumHex number (8-bit long)
Returns
None

Definition at line 269 of file A31G11x_hal_debug_frmwrk.c.

270 {
271  uint8_t nibble, i;
272 
273  i = 1;
274  do
275  {
276  nibble = ( hexnum >> ( 4 * i ) ) & 0x0F;
277  UARTPutChar( UARTx, ( nibble > 9 ) ? ( 'A' + nibble - 10 ) : ( '0' + nibble ) );
278  } while( i-- );
279 }
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References UARTPutChar().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPutHex16()

void UARTPutHex16 ( UARTn_Type *  UARTx,
uint16_t  hexnum 
)

Puts a hex number to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]hexnumHex number (16-bit long)
Returns
None

Definition at line 290 of file A31G11x_hal_debug_frmwrk.c.

291 {
292  uint8_t nibble, i;
293 
294  i = 3;
295  do
296  {
297  nibble = ( hexnum >> ( 4 * i ) ) & 0x0F;
298  UARTPutChar( UARTx, ( nibble > 9 ) ? ( 'A' + nibble - 10 ) : ( '0' + nibble ) );
299  } while( i-- );
300 }
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References UARTPutChar().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPutHex32()

void UARTPutHex32 ( UARTn_Type *  UARTx,
uint32_t  hexnum 
)

Puts a hex number to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]hexnumHex number (32-bit long)
Returns
None

Definition at line 311 of file A31G11x_hal_debug_frmwrk.c.

312 {
313  uint8_t nibble, i;
314 
315  i = 7;
316  do
317  {
318  nibble = ( hexnum >> ( 4 * i ) ) & 0x0F;
319  UARTPutChar( UARTx, ( nibble > 9 ) ? ( 'A' + nibble - 10 ) : ( '0' + nibble ) );
320  } while( i-- );
321 }
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References UARTPutChar().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPuts()

void UARTPuts ( UARTn_Type *  UARTx,
const void *  str 
)

Puts a string to UART port.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]strString to put
Returns
None

Definition at line 157 of file A31G11x_hal_debug_frmwrk.c.

158 {
159  uint8_t* s = ( uint8_t* )str;
160 
161  while( *s )
162  {
163  UARTPutChar( UARTx, *s++ );
164  }
165 }
void UARTPutChar(UARTn_Type *UARTx, uint8_t ch)
Puts a character to UART port.

References UARTPutChar().

Referenced by debug_frmwrk_init(), and UARTPuts_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UARTPuts_()

void UARTPuts_ ( UARTn_Type *  UARTx,
const void *  str 
)

Puts a string to UART port and print new line.

Parameters
[in]UARTxPointer to the target UART
  • UART0 ~ UART1
[in]strString to put
Returns
None

Definition at line 176 of file A31G11x_hal_debug_frmwrk.c.

177 {
178  UARTPuts( UARTx, str );
179  UARTPuts( UARTx, "\n\r" );
180 }
void UARTPuts(UARTn_Type *UARTx, const void *str)
Puts a string to UART port.

References UARTPuts().

Referenced by debug_frmwrk_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ _db_char

void( * _db_char) (UARTn_Type *UARTx, uint8_t ch)

Definition at line 61 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_dec

void( * _db_dec) (UARTn_Type *UARTx, uint8_t decn)

Definition at line 62 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_dec_16

void( * _db_dec_16) (UARTn_Type *UARTx, uint16_t decn)

Definition at line 63 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_dec_32

void( * _db_dec_32) (UARTn_Type *UARTx, uint32_t decn)

Definition at line 64 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_get_ch

uint8_t( * _db_get_ch) (UARTn_Type *UARTx, uint8_t *ch)

Definition at line 69 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_get_char

uint8_t( * _db_get_char) (UARTn_Type *UARTx)

Definition at line 68 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_hex

void( * _db_hex) (UARTn_Type *UARTx, uint8_t hexn)

Definition at line 65 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_hex_16

void( * _db_hex_16) (UARTn_Type *UARTx, uint16_t hexn)

Definition at line 66 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_hex_32

void( * _db_hex_32) (UARTn_Type *UARTx, uint32_t hexn)

Definition at line 67 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_msg

void( * _db_msg) (UARTn_Type *UARTx, const void *s)

Definition at line 59 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().

◆ _db_msg_

void( * _db_msg_) (UARTn_Type *UARTx, const void *s)

Definition at line 60 of file A31G11x_hal_debug_frmwrk.c.

Referenced by debug_frmwrk_init().