Library to handle the X-NUCLEO-CCA01M1 Sound Terminal Expansion Board.
Dependencies: ST_I2S X_NUCLEO_COMMON
Dependents: HelloWorld_CCA01M1 HelloWorld_CCA01M1_mbedOS HelloWorld_CCA01M1_mbedOS Karaoke_CCA01M1_CCA02M1_mbedOS ... more
Fork of X_NUCLEO_CCA01M1 by
Component Class Reference
An abstract class for Generic components. More...
#include <Component.h>
Inherited by SoundTerminal.
Public Member Functions | |
| virtual int | init (void *init)=0 |
| Initializing the component. | |
| virtual int | read_id (uint8_t *id)=0 |
| Getting the ID of the component. | |
| virtual | ~Component () |
| Destructor. | |
Detailed Description
An abstract class for Generic components.
Definition at line 56 of file Component.h.
Constructor & Destructor Documentation
| virtual ~Component | ( | ) | [virtual] |
Destructor.
Definition at line 76 of file Component.h.
Member Function Documentation
| virtual int init | ( | void * | init ) | [pure virtual] |
Initializing the component.
- Parameters:
-
[in] init pointer to device specific initalization structure.
- Return values:
-
0 in case of success, an error code otherwise.
Implemented in STA350BW.
| virtual int read_id | ( | uint8_t * | id ) | [pure virtual] |
Getting the ID of the component.
- Parameters:
-
[out] id pointer to an allocated variable to store the ID into.
- Return values:
-
0 in case of success, an error code otherwise.
Implemented in STA350BW.
Generated on Sat Jul 23 2022 08:56:13 by
1.7.2

X-NUCLEO-CCA01M1 Sound Terminal Expansion Board